You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tested unhandledExceptionHook with --os:any and all of the different --exception options. From what I could see it never gets called, for --exceptions:goto I can see that nimTestErrorFlag is in the code (and it calls the hook) but I don't see anywhere in my code where nimTestErrorFlag is being called.
In addition to this, there is also a similar hook called onUnhandledException, I have tried it too and it also does not work. The only hooks that work are the globalRaiseHook but it would be nice to get something that only gets triggered when the exception is unhandled.
Additional Information
$ nim -v
Nim Compiler Version 1.4.0
The text was updated successfully, but these errors were encountered:
also recently stumbled over this issue. At the moment I use "--os:any --define:posix" for proper newlib integration. works well except for a small number of "edge cases". This is one ( a unhandled exception does not result i a call to "signal" and/or "quit(errno) at the moment for --os:any " and I tried to integrate it with this kind of hook).
I have tested
unhandledExceptionHook
with--os:any
and all of the different--exception
options. From what I could see it never gets called, for--exceptions:goto
I can see thatnimTestErrorFlag
is in the code (and it calls the hook) but I don't see anywhere in my code wherenimTestErrorFlag
is being called.In addition to this, there is also a similar hook called
onUnhandledException
, I have tried it too and it also does not work. The only hooks that work are theglobalRaiseHook
but it would be nice to get something that only gets triggered when the exception is unhandled.Additional Information
The text was updated successfully, but these errors were encountered: