I've converted some legacy code to javascript using emscripten. I'm having a problem with a pointer getting clobbered in the javascript that doesn't happen in the original C code. I'm not that familiar with the code and I get lost trying to view the simulated memory.
I can put in breakpoints and inspect variables using chrome inspector, but I need to view complex C data structures. Does anyone know of any tools that let you look at the emscripten simulated memory as C structs with labels? I have already created a tool that displays memory in hex in the same way that hex editors show binary files. It takes decimal addresses to make it easy to use from chrome where all the pointers show as decimal. It also shows the data as text of course. 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? -- 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]. For more options, visit https://groups.google.com/groups/opt_out.
