-
Notifications
You must be signed in to change notification settings - Fork 38
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
[Proposal] Print JVM stack trace when the error is being thrown inside a cpp file. #186
Comments
Exception should appear in classic console or terminal. @chippmann if you're ok, I think we can close this one. |
@piiertho I don't think this is what the issue describes. As I understand it; the problem is when a crash happens inside cpp land and not the jvm. Then no java stacktrace is printed. Only a dump from cpp land is printed. |
What @chippmann said was exactly my problem. I wrote a bunch of code, executed it and then the cpp part crashed and I didn't know which JVM call caused that, which resulted in me putting logs in every line. |
To close after #627 is merged |
@CedNaru i don't think that my PR solves this issue. It still only handles a jvm exception but not a print of the jvm stacktrace if no error has happened in jvm but one in cpp (like cannot find node by path as node is not in scene tree) |
I see. Then 4.3 will solve the issue, there is a new API call that makes a language print its current stacktrace, we will just have to implement it by calling a dummy Jvm method that will only throw an exception. |
Nice! |
It would be cool to have it, so that we would know what went wrong
The text was updated successfully, but these errors were encountered: