Debugging experience on Mac OS X

Jacob Carlborg doob at me.com
Thu Oct 11 00:23:35 PDT 2012


What is actually supposed to work on Mac OS X in regards to debugging 
and exception?

When an exception is thrown I do get a backtrace but without line 
information. Does this work on any other platform? Is it supposed to be 
working on Mac OS X?

In the debugger, GDB, the only thing that seems to work is getting a 
backtrace. No line numbers and nothing else seems to be possible to do.

I'm using the GDB shipped with Xcode, I do understand that I might need 
to update to a later version but which one? And how should I compile the 
code, with "-gc" or "-g"?

I'm DMD 2.060 on Mac OS X 10.8.2.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list