Releases: Zeex/samp-plugin-crashdetect
CrashDetect 4.17
-
Added timestamps in log file (#52)
You can use
logtimeformat
to customize the time format. -
Log file is now opened in append mode, so it's not overwritten on server startup
CrashDetect 4.16
- Added new option
crashdetect_log <filename>
that allows you to set a custom log file - Minor build fixes
CrashDetect 4.15.1
- Fixed compatibility with GDK 4.2 (runtime error 20)
CrashDetect 4.15
- Added values of pass-by-reference parameters to [back]trace output
- Increased the maximum length of outputted string contents to 80 characters
- Added a script for generating wrappers around native functions (this lets you see natives' arguments when using
trace
)
CrashDetect 4.14
-
Added two server.cfg options:
trace <flags>
- enable tracing; flags is one or combination of the following (the order doesn't matter):n
- trace native functionsp
- trace public functionsf
- trace normal functions
This means that 'pn' will trace both public and native functions, and similarly, 'pfn', will trace all.
-
trace_filter <regexp>
- filter the output oftrace
according to a (Perl-compatible) regexp.For example:
trace_filter Player
- only output functions whose name containsPlayer
trace_filter playerid=0
- show functions whoseplayerid
parameter is0
-
Fixed issues with long scripts (the 65k problem)
-
Fixed slightly incorrect instruction address in Runtime error 6 message when doing HALT
CrashDetect 4.13.1 LSE
This is a special version of CrashDetect 4.13.1 that can be used with the LSE variant of this compiler. LSE stands for "Long Script Edition", i.e. it's created to work with for long scripts where long means about ~65k lines of code (includes are counted too).
The fact that the normal version of CrashDetect doesn't work with such scripts is NOT a bug in CrashDetect and thus not my fault. It's a problem with the Pawn compiler that is shipped with SA-MP.
Please DO NOT use this with the default SA-MP compiler or your server will crash!
CrashDetect 4.13.1
- Fixed LCTRL 0xFF / IsCrashDetectPresent() not working on Linux
- Fixed a Pawn warning in the include file when compiling with optional semicolons
- Fixed a possible crash when terminating the server with Ctrl+C on Windows
- Fixed PrintAmxBacktrace() not working property when called from within OnRuntimeError()
- Limited the depth of the AMX backtrace to max. 100 entries
CrashDetect 4.13
- Added SIGABRT detection on Linux (reported as a crash)
- Added a way to detect CrashDetect from Pawn (see the include)
- Added a forward declaration for OnRuntimeError() in the include file
- Fixed a crash when the AMX stack is messed up
- Fixed handling of Ctrl-C on Windows
- Fixed empty script name in some error messages when .amx not found
- Removed update checking code
CrashDetect 4.12
- Fixed incomplete backtrace when using OnRuntimeError or fixes2's OnServerMessage
- Fixed native backtrace on Windows sometimes going too far
- Added 4 native functions for getting and printing backtraces (see crashdetect.inc)
- Increased max. number of raw arguments in AMX backtrace from 5 to 10
CrashDetect 4.11.2
v4.11.2 v4.11.2