Stack trace, can we do something ?

Martin Nowak code at dawg.eu
Thu Mar 27 07:50:58 PDT 2014


On 03/22/2014 06:52 AM, deadalnix wrote:
> A paste is worth a long story : http://pastebin.com/XbL2dv9S
>
> That is really bad, and debugging horribly difficult. Basically, no
> file/line numbers and no demangling.
>
> We tend to get used to it, unless it gets exceptionally bad, but I'm
> pretty sure this kind of things can scare newcomers.

Something that I want for quite a while is to reverse the stacktrace 
order. It's mostly the message and the last two or three stackframes, 
that are actually interesting. Having them at the bottom of the console
would be helpful.

Another point is to fix the demangler, also fully qualified names are 
overly verbose.

Last thing is to gather file locations from debug info, but that 
required much more effort.

https://d.puremagic.com/issues/show_bug.cgi?id=11870


More information about the Digitalmars-d mailing list