-
-
Notifications
You must be signed in to change notification settings - Fork 620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CRASH_COND should interrupt execution #521
Comments
Seems like the
But because it simply crashes with a signal 4, this does not actually show any information in the editor (no crash UI, no error in the editor's debugger, etc.) - just |
|
Hmm that's a shame. Do you know if there's at least a way to flush the log output before crashing in order to make sure that the error reaches the editor's debugger, rather than only getting output into the command line? |
Whatever happens, the application must quit at the Another note: |
The
CRASH_COND
macro is defined like this:But this does not behave like an assertion like in Godot, and resumes execution. It should instead stop execution without even expecting to put a return value, like so: https://github.com/godotengine/godot/blob/7b685a1558aaa7e014d358c2db8be83aef5d8b8f/core/error/error_macros.h#L450
The text was updated successfully, but these errors were encountered: