Stack trace / debug mode?

Users who are viewing this thread

Is there a way to print out the stack trace on game crash? Or open the application in a debug mode that lets me see the function calls throughout the game? I have the developer's console installed which allows access to some of the functions, but I need to see what events are triggered by certain actions.
 
Solution
Stack traces for crashes should be printed to the logs. You can find these logs in C:\ProgramData\Mount and Blade II Bannerlord\logs.
If you are expecting a crash to happen, you can attach a debugger to the application and break when an exception is thrown.
I've found that JetBrain's dotPeek can open all of the TaleWorld's DLLs and give an interactive stack trace whenever the application crashes when being run from Visual Studio.
 
Upvote 0
Stack traces for crashes should be printed to the logs. You can find these logs in C:\ProgramData\Mount and Blade II Bannerlord\logs.
If you are expecting a crash to happen, you can attach a debugger to the application and break when an exception is thrown.
 
Upvote 0
Solution
Back
Top Bottom