doodle/pkg/scripting
Noah Petherbridge 653184b8f8 JavaScript Exception Catcher UI
* Add an exception catcher that pops open a UI window showing errors that
  occur in doodad scripts during gameplay.
* Shows a preview of the header of the error (character wrapped) with a
  Copy button to copy the full raw text to clipboard for inspection.
* Buttons to dismiss the modal once or stop any further errors from
  opening during this gameplay session (until next restart).
* Add developer shell commands to test the exception catcher:
  - 'throw <message>' to throw a custom message.
  - 'throw2' to stress test a "long" message.
  - 'throw3' to throw a realistic message copied from an actual error.
* Scripting engine: console.log() and friends will now insert the script
  VM's name in front of its messages (the filename + actor ID).
2022-09-24 21:58:01 -07:00
..
exceptions JavaScript Exception Catcher UI 2022-09-24 21:58:01 -07:00
events.go JavaScript Exception Catcher UI 2022-09-24 21:58:01 -07:00
js_api.go JavaScript Exception Catcher UI 2022-09-24 21:58:01 -07:00
pubsub.go JavaScript Exception Catcher UI 2022-09-24 21:58:01 -07:00
scripting.go Rename Go module 2022-09-24 15:17:25 -07:00
supervisor_events.go Checkpoint Flag & Retry from Checkpoint 2021-08-15 20:17:53 -07:00
timers.go Switch JavaScript engine to goja 2022-01-16 20:09:27 -08:00
vm.go JavaScript Exception Catcher UI 2022-09-24 21:58:01 -07:00