macOS: debugging hell - strange behavior in lldb and gdb

John Colvin via Digitalmars-d-debugger digitalmars-d-debugger at
Wed Feb 15 02:39:17 PST 2017

On Wednesday, 15 February 2017 at 07:45:41 UTC, Jacob Carlborg 
> On 2017-02-15 00:56, John Colvin wrote:
>> -g is there though, which is actually what the docs say.
>> gdb should suppport D (assuming it's not an ancient gdb), so 
>> -g should
>> be better there. Overall, gdb is a better debugger for D. -g 
>> means D
>> debug info, -gc means pretend to be C.
> D should support LLDB, or LLDB should support D (whichever way 
> it is). LLDB is the system debugger on macOS.

Judging by what was done with gdb by Iain, it's lldb that will 
need modifying. In the meantime - while we wait for someone with 
the skills and time to do that - -gc will have to suffice.

More information about the Digitalmars-d-debugger mailing list