| Thread overview | |||||||
|---|---|---|---|---|---|---|---|
|
June 17, 2015 Does anyone get line numbers in stack traces on Linux? | ||||
|---|---|---|---|---|
| ||||
I thought it was because I was weird and I use gold as my linker, but ld.bfd produced the same results. The most I could find in bug reports was someone complaining it used to work but the consensus was that it never did? Atila | ||||
June 17, 2015 Re: Does anyone get line numbers in stack traces on Linux? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Atila Neves | druntime has never had support for file/line info in traces on Linux AFAIR gdb usually saves the day | |||
June 17, 2015 Re: Does anyone get line numbers in stack traces on Linux? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Atila Neves | On Wednesday, 17 June 2015 at 07:53:16 UTC, Atila Neves wrote:
> I thought it was because I was weird and I use gold as my linker, but ld.bfd produced the same results. The most I could find in bug reports was someone complaining it used to work but the consensus was that it never did?
>
> Atila
addr2line
| |||
June 17, 2015 Re: Does anyone get line numbers in stack traces on Linux? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to weaselcat | On Wednesday, 17 June 2015 at 11:07:29 UTC, weaselcat wrote:
> On Wednesday, 17 June 2015 at 07:53:16 UTC, Atila Neves wrote:
>> I thought it was because I was weird and I use gold as my linker, but ld.bfd produced the same results. The most I could find in bug reports was someone complaining it used to work but the consensus was that it never did?
>>
>> Atila
>
> addr2line
BTW, I use the backtrace API from glibc to dump a stack trace that is filtered through addr2line and demangled.
| |||
June 17, 2015 Re: Does anyone get line numbers in stack traces on Linux? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Atila Neves Attachments: | i have that. with GCD. ;-) | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply