call traceback is indecipherable garbage

Steven Schveighoffer schveiguy at
Wed Jan 26 02:56:38 UTC 2022

On 1/25/22 9:40 PM, forkit wrote:
> On Wednesday, 26 January 2022 at 02:31:25 UTC, Steven Schveighoffer wrote:
>> Catching an exception and handling it directly is exactly how you do 
>> this. Dmd can't have all the options to write code for you.
> of course opening a non-existent file was an arbitrary example (and 
> should be ignored).
> The garbage being output is really the focus of my question.
> At the very least, it should be removed in -release I think.
> I'd be interested in knowing how many (and who) actually make use of the 
> output under the ------ part.

If you compile with debug symbols, you get an actual stack trace. (even 
in -release mode)

Now, with proper spelunking tools, I'm sure you could figure out all the 
information from those addresses, but the runtime is printing everything 
it can about the stack trace, which isn't much.


More information about the Digitalmars-d mailing list