digitalmars.D.learn - DMD Callstacks
- =?UTF-8?B?TcOhcmNpbw==?= Martins (3/3) Oct 23 2017 What is everyone doing to get proper file name and line number
- Nicholas Wilson (2/5) Oct 23 2017 What OS, etc?
- =?UTF-8?B?TcOhcmNpbw==?= Martins (3/10) Oct 23 2017 Linux 64-bit (Ubuntu 16)
- abad (3/6) Oct 23 2017 You could try compiling with the -debug-switch. Of course if this
- user1234 (4/12) Oct 24 2017 "-debug" activates the debug condition. To get file and line it's
What is everyone doing to get proper file name and line number info for callstacks with DMD? addr2line just gives me ??:0
Oct 23 2017
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 ??:0What OS, etc?
Oct 23 2017
On Monday, 23 October 2017 at 12:54:33 UTC, Nicholas Wilson wrote:On Monday, 23 October 2017 at 12:41:09 UTC, Márcio Martins wrote:Linux 64-bit (Ubuntu 16) DMD64 2.076.1What is everyone doing to get proper file name and line number info for callstacks with DMD? addr2line just gives me ??:0What OS, etc?
Oct 23 2017
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 ??:0You could try compiling with the -debug-switch. Of course if this turns out to be the fix, it doesn't help with std code.
Oct 23 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:"-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.What is everyone doing to get proper file name and line number info for callstacks with DMD? addr2line just gives me ??:0You could try compiling with the -debug-switch. Of course if this turns out to be the fix, it doesn't help with std code.
Oct 24 2017