This repository has been archived by the owner on May 25, 2021. It is now read-only.
Catch exceptions in main()? #10
Labels
Comments
Thanks, I'll consider your suggestion. (in milestone v0.12) |
As you can see, it doesn't really help the debugger. If the exception is not caught, it will show you the exact location in source, where the exception is shown. So, this only makes sense in release build. I will add its code that is executed in release build only. |
Would you like to reconsider consequences from implementation-defined behaviour? |
Yes, I consider aschepler's answer.
|
Maybe, I guess...
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I expect that exception handling is usually supported by a C++ program. I wonder why your function "main" does not contain corresponding try and catch instructions so far.
How do you think about recommendations by Matthew Wilson in an article?
Would you like to adjust the implementation if you consider effects for uncaught/unhandled exceptions like they are described by Danny Kalev?
The text was updated successfully, but these errors were encountered: