How to debug in Visual studio?
Patrick Byrne
pbyrne at frontier.co.uk
Fri Mar 30 05:05:17 PDT 2007
Daniel Keep wrote:
> 1. Make sure you have "gdb" in ddbg's filename somewhere. I just
> copied ddbg.exe to ddbg_gdb.exe, and told CB to use that.
>
> 2. Code::Block's D template is a little iffy atm. You need to go in to
> linker options and add the '-g' switch; can't remember where, exactly.
> The reason is that dmd is both compiler and linker, and it seems that if
> you link debug code without '-g', OPTLINK will actually drop the
> debugging info.
Thanks very much! Unfortunately, I had already scraped this info from
the forums/webpages, and even with this set it isn't working. :-(
I shall re-post this problem shortly to the ...debugger forum, in case
people would rather it lived there.
-P
More information about the Digitalmars-d
mailing list