We have an C++ app which runs on multiple platforms and is build using the Qt framework. For a while we had issues with unexplainable stack traces reported by testflight users.
Now I found out that if I just put throw std::runtime_error("something");
at the start of my main method the resulting crash call stack would not point to my main method.
Is there something I can do (compiler flags/variables/code etc) to have the call stack from the actual throw show up in XCode and testflight?