DMD Callstacks
user1234
user1234 at 12.nl
Wed Oct 25 00:26:01 UTC 2017
On Tuesday, 24 October 2017 at 06:49:37 UTC, abad wrote:
> On Monday, 23 October 2017 at 12:41:09 UTC, Márcio Martins
> wrote:
>> What is everyone doing to get proper file name and line number
>> info for callstacks with DMD?
>>
>> addr2line just gives me ??:0
>
> You could try compiling with the -debug-switch. Of course if
> this turns out to be the fix, it doesn't help with std code.
"-debug" activates the debug condition. To get file and line it's
"-g" (generate debug infos), although this won't have any effect
for phobos since the static library is already compiled.
More information about the Digitalmars-d-learn
mailing list