[Issue 14885] ideas for prettier and more useful backtraces

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Aug 8 06:53:29 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14885

Adam D. Ruppe <destructionator at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |destructionator at gmail.com

--- Comment #4 from Adam D. Ruppe <destructionator at gmail.com> ---
I agree, that would be nice. I also think the name of the function is actually
mostly just noise; they are too long to read in most cases.

I'd kinda prefer it just give the last part of the name without the arguments
(so just plain `to` instead of `pure @safe int
std.conv.to!(int).to!(immutable(char)[]).to(immutable(char)[])`... maybe with
template args, but they get ridiculously long too, but just the name followed
by a way to get more info.

An external tool (which we could provide) could then get more info as requested
from the backtrace line, like the full function name. (Even with line numbers,
listing the address is probably useful for more info...)

--


More information about the Digitalmars-d-bugs mailing list