So it looks like the magic build setting were the following: "C:\Program Files\Emscripten\emscripten\1.35.0\emcc" -std=c++11 %LIST% -o Threadily.bc -Oz "C:\Program Files\Emscripten\emscripten\1.35.0\emcc" -std=c++11 %LIST% -I "Threadily" -o SCI.Ranking.Client.Engine.bc -Oz "C:\Program Files\Emscripten\emscripten\1.35.0\emcc" -std=c++11 --bind Threadily.bc SCI.Ranking.Client.Engine.bc -o SCI.Ranking.Client.Engine.js -O0 -s MODULARIZE=1 -s EXCEPTION_DEBUG=1
Which ended up firing a runtime exception pointing out a method in my code called createAddressAsync. What is interesting here is my code essentially does this 1. createAddressAsync 2. onFinished call javascript 3. From javascript call createBusinessAsync 4. onFinished call javascript 5. From javascript call another function 6. This function throws exception The callstack after createAddressAsync was completely lost in this scenario which what made it take even longer after I managed to get the method name. Well there goes 4 days of my life :-) -- 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/d/optout.
