Files
Aurora.3/code/__defines/auxtools.dm
Fluffy e68677c405 Implement auxtools_expr_stub, used by auxtools during debugging (#16070)
* Added auxtools_expr_stub

* Making the debugger more robust than a toolbox in the head
2023-03-22 17:42:50 +00:00

26 lines
673 B
Plaintext

/proc/auxtools_stack_trace(msg)
CRASH(msg)
/proc/auxtools_expr_stub()
CRASH("auxtools not loaded")
/proc/enable_debugging(mode, port)
CRASH("auxtools not loaded")
// Remove byond version check when spacemanDMM / auxtools are updated to 515
// otherwise your world/New will conk out and die
/world/New()
if(byond_version < 515)
var/debug_server = world.GetConfig("env", "AUXTOOLS_DEBUG_DLL")
if (debug_server)
call(debug_server, "auxtools_init")()
enable_debugging()
. = ..()
/world/Del()
if(byond_version < 515)
var/debug_server = world.GetConfig("env", "AUXTOOLS_DEBUG_DLL")
if (debug_server)
call(debug_server, "auxtools_shutdown")()
. = ..()