www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - dmd and gdb

reply vtp <vanh dslextreme.com> writes:
Does dmd compiler work with gdb debugger? Or do I need gdc compiler instead?

vtp
Jan 10 2007
parent "Frank Benoit (keinfarbton)" <benoit tionex.removethispart.de> writes:
vtp schrieb:
 Does dmd compiler work with gdb debugger? Or do I need gdc compiler instead?
 
 vtp

Yes it works for me on linux. But the backtrace is broken. Compiled with debug info I get some lines and and error about "corrupt stack". Without the debug info it shows the complete stack with modules, but without line numbers. What it is good for: get the position of a segmentation fault ;)
Jan 10 2007