Debugging support for D - wiki

Paolo Invernizzi paolo.invernizzi at gmail.com
Thu Sep 26 00:27:53 PDT 2013


On Wednesday, 25 September 2013 at 18:34:14 UTC, Jacob Carlborg 
wrote:
> On Wednesday, 25 September 2013 at 14:46:20 UTC, Bruno Medeiros 
> wrote:
>
>
>> What are the implications? Does this mean you canr create a 
>> breakpoint for a given source file line?
>
> I have tried that. But want I do know is that the stack trace 
> in the debugger doesn't have line numbers.
>
> --
> /Jacob Carlborg

I can confirm that line numbers are missing from the traces, but 
at least something like:

   (lldb) b test.d:12
   Breakpoint 1: where = test_dmd-head_g`D4test3mooFZi + 8, 
address = 0x00000001000013a0

works correctly, and with tabbed autocompletation of the filename 
(dmd head, OSX 10.9, lldb-300.5.33.1).

I think some mangling problems are related to the missing 
underscore in symbols (as David reported), but the big BIG 
problem is the missing line numbers *sigh*

- Paolo Invernizzi


More information about the Digitalmars-d mailing list