Theme
Crash reports
Faults land in logs/scripthook_crash.log, annotated.
| Export | Summary |
|---|---|
ShCrashCount | How many crashes have been caught this session. |
ShCrashHealed | How many were resumed on the engine's own null path, which the player never sees. |
ShCrashReport | The first report of the session, as text. |
ShSetCrashFreeze | Freeze parks the faulting thread instead of dying, for a live post mortem. |
ShCrashFreezeOn | See ShSetCrashFreeze. |
ShCrashCount
c
SH_API int ShCrashCount(void);How many crashes have been caught this session.
scripthook.h, line 2053
ShCrashHealed
c
SH_API int ShCrashHealed(void);How many were resumed on the engine's own null path, which the player never sees.
scripthook.h, line 2058
ShCrashReport
c
SH_API int ShCrashReport(char *buf, int len);The first report of the session, as text.
scripthook.h, line 2061
ShSetCrashFreeze
c
SH_API int ShSetCrashFreeze(int on);Freeze parks the faulting thread instead of dying, for a live post mortem. Opt in: a handled exception hangs rather than continues.
scripthook.h, line 2066
ShCrashFreezeOn
c
SH_API int ShCrashFreezeOn(void);Documented together with ShSetCrashFreeze just above.
scripthook.h, line 2067