macOS: debugging hell - strange behavior in lldb and gdb

Relja Ljubobratovic via Digitalmars-d-debugger digitalmars-d-debugger at puremagic.com
Tue Feb 14 10:08:18 PST 2017


On Tuesday, 14 February 2017 at 15:37:34 UTC, John Colvin wrote:
> On Sunday, 12 February 2017 at 10:27:38 UTC, Relja 
> Ljubobratovic wrote:
>> Hey guys,
>>
>> I've had zero luck with debuggers on macOS. Here's the story:
>>
>> [...]
>
> You might find adding symbolic debug info will be useful, which 
> is done with -g or -gc.

That did it! With -gc lldb works properly. Thank you John!

Any reason this flag is not included on dub --build=debug 
--compiler=ldc2?



More information about the Digitalmars-d-debugger mailing list