www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - cgdb 0.6.7 release - with D syntax highlight support.

reply "Iain Buclaw" <ibuclaw ubuntu.com> writes:
A new release of cgdb has been made today.

https://raw.github.com/cgdb/cgdb/v0.6.7/NEWS

This includes the new feature of syntax highlight support for D 
applications.

http://s1.postimage.org/yek8rlpy5/Screenshot_from_2013_01_14_11_58_40.png


Sources are obtainable from here:
http://cgdb.me/files/cgdb-0.6.7.tar.gz

Expect binary releases to become available in your next 
distribution release!


If anyone finds any bugs, do let me know.

Thanks,
Iain.
Jan 14 2013
parent reply "timotheecour" <thelastmammoth gmail.com> writes:
Could you please provide some more information for usage / 
installation?

on osx I was able to install it with:
brew install readline
./configure 
--with-readline=/usr/local/homebrew/Cellar/readline/6.2.4

1) however, running a simple hello world with rdmd --build-only 
-g main and then cgdb ./main doesn't seem to show any debugging 
symbols (line numbers etc). Is that because of the issue with the 
extra underscore produced in D mangling on OSX?

2)
on ubuntu, I can't get it to install:
./configure --with-readline=/some_path/libreadline.a
however it complains about ncurses not found, even with options 
such as:
  --with-ncurses=/some_path/libncurses.so



On Monday, 14 January 2013 at 12:07:21 UTC, Iain Buclaw wrote:
 A new release of cgdb has been made today.

 https://raw.github.com/cgdb/cgdb/v0.6.7/NEWS

 This includes the new feature of syntax highlight support for D 
 applications.

 http://s1.postimage.org/yek8rlpy5/Screenshot_from_2013_01_14_11_58_40.png


 Sources are obtainable from here:
 http://cgdb.me/files/cgdb-0.6.7.tar.gz

 Expect binary releases to become available in your next 
 distribution release!


 If anyone finds any bugs, do let me know.

 Thanks,
 Iain.
Jan 15 2013
parent Iain Buclaw <ibuclaw ubuntu.com> writes:
On 15 January 2013 22:09, timotheecour <thelastmammoth gmail.com> wrote:

 Could you please provide some more information for usage / installation?

 on osx I was able to install it with:
 brew install readline
 ./configure --with-readline=/usr/local/**homebrew/Cellar/readline/6.2.4

 1) however, running a simple hello world with rdmd --build-only -g main
 and then cgdb ./main doesn't seem to show any debugging symbols (line
 numbers etc). Is that because of the issue with the extra underscore
 produced in D mangling on OSX?
Which compiler are you using, dmd's? I'm not sure how good dmd emits debugging symbols on OSX, you could try using -gc switch instead of -g. Raise a bug with the revelant compiler. 2)
 on ubuntu, I can't get it to install:
 ./configure --with-readline=/some_path/**libreadline.a
 however it complains about ncurses not found, even with options such as:
  --with-ncurses=/some_path/**libncurses.so
I just built mine with: ./configure --prefix=/usr You should only require the following installed: autotools-dev, libncurses5-dev, libreadline6-dev Regards, Iain. -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';
Jan 15 2013