debug doesn't work?

Ramon spam at thanks.no
Thu Sep 5 15:18:44 PDT 2013


The compiler switch '-debug' isn't recognized (which isn't a 
problem per se, but...)

"debug" statements in the code are ignored.

Example:

...
debug
    writeln("DBG: var X is: ", X, "'");

...

When in the debugger (gdb) the "debug" section (the 2 lines 
above) are simply ignored/stepped over.

Is this a problem or is it me not knowing how to do it properly?

Thanks -R


More information about the D.gnu mailing list