first chance exception in VisualD

frame frame86 at live.com
Thu Jul 29 09:43:01 UTC 2021


On Thursday, 29 July 2021 at 06:44:47 UTC, Rainer Schuetze wrote:

> - a 64-bit executable built with dmd only generates a 
> "priveleged instruction exception" for unhandled exceptions as 
> dmd generated code that does not use standard exception handling
>
> - a 32-bit executable built with dmd has regular exception 
> handling code, but uses exception code 0xe0440001 for all 
> exceptions

Well, I'm happy if it just breaks directly at the assert 
statement.

> - only the "mago debug engine" as selected in the "Debugging" 
> project configuration can evaluate the "D Exceptions" settings, 
> but it might have bitrotten...

True, it has issues with viewing some variables.
Could you add a quick-debugger-switch button or something like 
that?

> - when compiling with LDC, standard C++ exceptions are 
> generated, and you can setup exception filters in the "C++ 
> exceptions" group
>
> tl;dr: use LDC :-)

Good to know, thanks.




More information about the Digitalmars-d-debugger mailing list