-
Hello! Though running html file with emrun ends with this: Is there any way to debug the cause of this issue? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
P.S. It's completely stuck. I can't even access console with F12. |
Beta Was this translation helpful? Give feedback.
-
Most likely you are not returning from you main function. With emscripten you need to break up your main loop so that the browser event loop can run. See https://emscripten.org/docs/porting/emscripten-runtime-environment.html#browser-main-loop |
Beta Was this translation helpful? Give feedback.
Most likely you are not returning from you main function. With emscripten you need to break up your main loop so that the browser event loop can run. See https://emscripten.org/docs/porting/emscripten-runtime-environment.html#browser-main-loop