Debugging support for D - wiki

Jacob Carlborg doob at me.com
Mon Sep 23 23:19:52 PDT 2013


On 2013-09-23 21:50, Bruno Medeiros wrote:

> (what about Mac though?)

The sate of debugging on Mac OS X is worse than on Linux. There are a 
couple of problems:

* D symbols need to be prefixed with an extra underscore

* The GDB system debugger is very old. It doesn't have the D patches the 
upstream GDB has. Apple is using LLDB as the new system debugger 
instead, which doesn't have any D patches at all

* Line numbers don't work. Probably some issue with incorrect DWARF 
generated

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list