Browse Source

Add console command `App.Crash` to debug garbled stack traces.

working_subtitles
Adam Johnson 3 years ago committed by rarified
parent
commit
3f8eaf6a9a
  1. 5
      Sources/Plasma/FeatureLib/pfConsole/pfConsoleCommands.cpp

5
Sources/Plasma/FeatureLib/pfConsole/pfConsoleCommands.cpp

@ -2525,6 +2525,11 @@ PF_CONSOLE_CMD( App, // groupName
PrintString( str );
}
PF_CONSOLE_CMD(App, Crash, "", "")
{
*((int*)0) = 0;
}
#endif // LIMIT_CONSOLE_COMMANDS
PF_CONSOLE_CMD( App, // groupName

Loading…
Cancel
Save