macOS: debugging hell - strange behavior in lldb and gdb

John Colvin via Digitalmars-d-debugger digitalmars-d-debugger at puremagic.com
Tue Feb 14 12:32:53 PST 2017


On Tuesday, 14 February 2017 at 18:08:18 UTC, Relja Ljubobratovic 
wrote:
> 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?

The docs say it is, but they could be wrong. Could you run dub 
with -v (and without any manually added -gc) and share the output?


More information about the Digitalmars-d-debugger mailing list