2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 02:27:40 -04:00

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

This commit is contained in:
2021-10-18 12:33:20 -04:00
committed by rarified
parent 0ce35e84b2
commit 3f8eaf6a9a

View File

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