How can I debug the c++ code being called via embind? When I step into the JS function call I see the embind stub but when I try to step into “invoker” the debugger steps over it instead of into the compiled code.
I have a source map but the browser debugger isn’t showing me anything except
the .wasm file which is not human understandable and has very long lines so
setting a breakpoint doesn’t seem possible. How do I see the source map? It is
being loaded. I can see the request being fulfilled by the server. And no
source map issues are reported in the console.
I’m using Firefox 72.0.2. Yes, I am compiling with -O0 -g and linking with -g4.
The debugging page of the Emscripten docs doesn’t say anything about *how* to
use source maps. Nor does it say anything about debugging embind.
Regards
-Mark
--
You received this message because you are subscribed to the Google Groups
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/emscripten-discuss/583026F5-F778-431B-AC1E-0018F1AF406E%40callow.im.
signature.asc
Description: Message signed with OpenPGP
