Please add generation of #line
annotations to il2cpp generated code. It’s great that managed stack traces have the correct location but that unfortunately won’t help with native stack traces for app crashes.
For example, we’re using Bugsnag for error tracking and upload dSym files to symbolicate stack traces. Gets us something like this
That’s far from terrible. You can at least roughly figure out which methods were called. But if you need to know where in the method you are or which overload was being called, you need to dig into the generated code.
If the C++ code was annotated with #line
statements, this would a lot more helpful.