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.