I can put in breakpoints and inspect variables using chrome inspector, but I need to view complex C data structures.
Can you step through the code? I am unable to in my project. The debugger seems to jump wildly around the JS code when I try. This happens with both Firefox and Chrome built-in debuggers.
Does anyone know of any tools that let you look at the emscripten simulated memory as C structs with labels?
No. I'm having the same difficulty as you with this right now,
exacerbated by the stepping problem.
...
If nothing exists already then I'm going to write a tool that takes struct definitions from C header files and uses the definitions to display memory in javascript. Would anyone else be interested in this?
Yes, absolutely.
Regards
-Mark
NOTE: This electronic mail message may contain confidential and privileged information from HI Corporation. If you are not the intended recipient, any disclosure, photocopying, distribution or use of the contents of the received information is prohibited. If you have received this e-mail in error, please notify the sender immediately and permanently delete this message and all related copies.
Can you step through the code?
Thanks but no I am not. I am aware of the use of switch
statements. The wild jumps I see are not following the switch
statement and include jumps into other unrelated functions. It
looks to me like the debugger having a problem tracking the code
execution but since it is happening in 2 different debuggers, an
issue with the compiled code seems more likely.
When you say "Chrome Inspector" you are talking about the
debugger built into Chrome, right?
--
You received this message because you are subscribed to a topic in the Google Groups "emscripten-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/emscripten-discuss/5iUdgtkUWaE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emscripten-disc...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
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 emscripten-disc...@googlegroups.com.