Author Topic: can't debug D program  (Read 2257 times)

Offline yaro

  • Single posting newcomer
  • *
  • Posts: 8
can't debug D program
« on: March 17, 2008, 07:26:58 pm »
When I compile the generated D project with digital mars D compiler in debug mode and try to debug it using the latest version of ddbg, breakpoints don't work, and console window closes immediately instead of waiting.

When I tried to run ddbg_gdb.bat testd.exe manually, then I got the following message:

No symbols available from testd.exe
WARNING: No debugging symbols found in main image, try compiling and linking with -g

But build target is Debug, the exe file was in debug directory and in project build options I can see -debug and -g are enabled.

Did anyone get the latest codeblocks work with the latest 2.0 digital mars compiler and the latest ddbg?

Offline korDen

  • Single posting newcomer
  • *
  • Posts: 3
Re: can't debug D program
« Reply #1 on: March 17, 2008, 08:38:00 pm »
A friend of mine also has had similar problem. The only difference, is that output contained error string similar to "unable to open helloworld.d". Niether of my two PCs have any problem. I have CodeBlocks 8.02 installed to default location (to Program Files), ddbg v0.11.3 and dmd installed to c:\dmd\ (c:\dmd\bin).