The number (string of digits?) is different every time I run the app. I cannot see where this is happening. There is a _main in Module but it does not appear to be being called as some fprintfs I added are not appearing on the console. The exception is being thrown in the wasm code for main. As I’ve not been able to get source mapping working properly, it is hard to debug.
This is a build problem not an application problem. The same code compiled with make files generated from GYP via CMake works fine. I’m converted to pure CMake so now have manually create CMakeLists, etc. I have compared the compile and link options several times and I have been unable to spot the difference.
I am hoping somebody on this list can give me a hint as to how to debug this or can explain what can cause an exception that does not look like an exception. It appears to just be a number.