[Issue 13543] std.file.FileException has useless __FILE__ and __LINE__ arguments tacked on

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Sep 29 06:18:37 PDT 2014


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

--- Comment #19 from bearophile_hugs at eml.cc ---
(In reply to Stewart Gordon from comment #18)

> Did you compile in debug info (-g switch)?

Yes, if you don't use -g the stack trace looks naked like:

std.exception.ErrnoException at std\stdio.d(367): Cannot open file
`some_file1.txt' in mode `rb' (No such file or directory)
----------------
0x00403E23
0x00402F82
0x00402F57
0x00402E6D
0x004020FF
0x7798D3C9 in BaseThreadInitThunk
0x77B31603 in RtlInitializeExceptionChain
0x77B315D6 in RtlInitializeExceptionChain

--


More information about the Digitalmars-d-bugs mailing list