When I try to load the .html for my compiled app under the debugger in Firefox I get a runtime exception:
native function `__main_argc_argv` called before runtime initialization If I run without the debugger, the app runs. I am using Emscripten’s default generated .html. Here are my Emscripten link options: --source-map-base ./ --exclude-file '${PROJECT_SOURCE_DIR}/tests/testimages/cubemap*' -s ALLOW_MEMORY_GROWTH=1 -s DISABLE_EXCEPTION_CATCHING=0 -s USE_SDL=2 -s USE_WEBGL2=1 plus a few —preload-file options for some image files. Any idea why this is happening and how to fix it? 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 emscripten-discuss+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/A5D9183C-ABB3-4D89-81DC-3DB38CFD6600%40callow.im.
signature.asc
Description: Message signed with OpenPGP