Bug #14301 2008-08-02 19:33

dsimcha

-g Flag not being passed to DMD, GDC

It appears that the -g flag setting is ignored by CodeBlocks 8.02 and SVN 5160 when using the Digital Mars D and GDC D compilers. When I compile with this switch set in build options, debugging does not work. When I try to debug manually at the command prompt, the debugger says that no symbolic debugging information is included in my binaries. When I manually enter the "-g" flag in the other options tab of compiler options, it seems to disappear. When I set -g as a linker flag instead of a compiler flag, it seems that debugging works properly somehow.

Category
Application::WrongBehaviour
Group
 
Status
Open
Close date
 
Assigned to