[Issue 2319] New: "Win32 Exception" not very useful
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Aug 29 01:18:54 PDT 2008
http://d.puremagic.com/issues/show_bug.cgi?id=2319
Summary: "Win32 Exception" not very useful
Product: D
Version: unspecified
Platform: PC
URL: http://msdn.microsoft.com/en-
us/library/aa363082(VS.85).aspx
OS/Version: Windows
Status: NEW
Keywords: EH
Severity: enhancement
Priority: P3
Component: Phobos
AssignedTo: bugzilla at digitalmars.com
ReportedBy: nnbkxozgitfef at mailinator.com
Currently _d_translate_se_to_d_exception() translates almost any Win32 SE
(except for divide by zero, access violation and stack overflow) into a simple
D Exception with the message set to "Win32 Exception" and no hint what the
original exception was or where in the application the exception was raised.
This is not at least helpful if you want to locate a bug.
At least D should differentiate between the exceptions here:
http://msdn.microsoft.com/en-us/library/aa363082(VS.85).aspx
...or better get a copy of the original EXCEPTION_RECORD structure, or perhaps
the most significant members like ExceptionCode and ExceptionAddress.
--
More information about the Digitalmars-d-bugs
mailing list