Repository navigation
Conversation
…t available on wasm. Fixes dotnet/runtime#39223 Fixes dotnet/runtime#39341
|
I assume this also fixes dotnet/runtime#38627 |
There was a problem hiding this comment.
ves_icall_get_frame_info is called directly from https://github.com/dotnet/runtime/blob/master/src/mono/netcore/System.Private.CoreLib/src/System/Diagnostics/StackFrame.Mono.cs#L51 and mono_llvm_only is true in the wasm interpreter case so this looks good to me but I'll let @vargaz follow up
|
We'll probably hit this case in mixed mode in the future, what are our options here? |
|
I think that we can add the ifdef as it's on this other function mono/mono/mini/mini-exceptions.c Line 1260 in 83083ef |
|
Not much, it's not going to work, wasm has no real stack trace api. |
|
We could in theory poke into js and get the stack from there though right? |
|
emscripten has some functionality which can decompile the wasm binary to get the method id -> method name mapping at runtime, and you can get wasm method ids from a js stacktrace, so something is possible. |
|
Should I try to do something about it right now? |
|
no, for now I think we should just open an issue with the idea to revisit it for 6 |
Don't try to use get_unwind_backtrace because _Unwind_Backtrace is not available on wasm.
Fixes dotnet/runtime#39223
Fixes dotnet/runtime#39341