-
I'm using the snippet described in this part of the documentation to catch C++ exceptions: https://emscripten.org/docs/porting/Debugging.html#handling-c-exceptions-from-javascript However, it doesn't print the stacktrace where the exception originally got thrown - is it possible to get this information? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
That example it designed to show how to get information on the thing that was thrown I believe. For the stacktrace can you not just get it from |
Beta Was this translation helpful? Give feedback.
-
I filed an issue for this (#17466) for the reminder to work on this, hopefully in near future. I'm not sure why it's not shown here. (Do discussions work differently from issues maybe?) |
Beta Was this translation helpful? Give feedback.
-
#17979 will fix this for Wasm EH. Supporting stack traces in Emscripten EH doesn't seem to be easy, so we are not planning on that atm. |
Beta Was this translation helpful? Give feedback.
#17979 will fix this for Wasm EH. Supporting stack traces in Emscripten EH doesn't seem to be easy, so we are not planning on that atm.