On Fri, Sep 06, 2013 at 12:18:44AM +0200, Ramon wrote: > 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? [...]
GDC uses a slightly modified form of DMD compile flags. The flag you're looking for is -fdebug. HTH. T -- "How are you doing?" "Doing what?"