[Issue 2319] "Win32 Exception" not very useful
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Apr 2 00:19:39 PDT 2009
http://d.puremagic.com/issues/show_bug.cgi?id=2319
------- Comment #3 from clugdbug at yahoo.com.au 2009-04-02 02:19 -------
(In reply to comment #2)
> Still get "Error: Win32 Exception" with this code:
>
> ---
> void main()
> {
> asm { int 3; }
> }
> ---
>
> No big deal for me, I just tried out of curiousity. Thought I'd mention it,
> though.
Yes, OK, it still generates Win32 exception for the following ones:
case STATUS_INTEGER_OVERFLOW: // not supported on any x86 processor
case STATUS_IN_PAGE_ERROR:
case STATUS_INVALID_DISPOSITION:
case STATUS_NONCONTINUABLE_EXCEPTION:
case STATUS_BREAKPOINT:
case STATUS_SINGLE_STEP:
// In DMC, but not in Microsoft docs
case STATUS_GUARD_PAGE_VIOLATION:
case STATUS_INVALID_HANDLE:
Perhaps the breakpoint one is important enough to treat specially. I'd
forgotten that you can generate it without having a debugger attached. I'll add
it in. The others can only be generated by compiler/runtime errors, I believe.
--
More information about the Digitalmars-d-bugs
mailing list