papermario-dx icon indicating copy to clipboard operation
papermario-dx copied to clipboard

EVT backtraces

Open bates64 opened this issue 1 year ago • 1 comments

If a crash happens in a script, we should show the script that crashed rather than the evt_execute_next_command trace

bates64 avatar Feb 04 '24 23:02 bates64

Added EvtCallingLine in evt.c which is NULL except when an EVT_CALL is being processed. When a crash occurs, check this variable and if it isn't NULL it will point to the line in the script which triggered the crash.

z64a avatar Feb 05 '24 05:02 z64a