This PR adds many improvements to the debugger interface that are suited towards helping automated testing and tracing features in CasualOS.
:rocket: Improvements
Improved the diff multi-line code editor to support codeButton form bots.
Improved os.focusOn() to be able to navigate to systemPortal tags when the diff pane is open in the systemPortal.
Added the debug.onScriptActionEnqueued(handler), debug.onAfterScriptUpdatedTag(handler), debug.onAfterScriptUpdatedTagMask(handler), debug.onBeforeUserAction(handler), debug.performUserAction(...actions), and debug.getCallStack() functions for debuggers.
See the documentation for more information and examples.
This PR adds many improvements to the debugger interface that are suited towards helping automated testing and tracing features in CasualOS.
:rocket: Improvements
codeButton
form bots.os.focusOn()
to be able to navigate to systemPortal tags when the diff pane is open in the systemPortal.debug.onScriptActionEnqueued(handler)
,debug.onAfterScriptUpdatedTag(handler)
,debug.onAfterScriptUpdatedTagMask(handler)
,debug.onBeforeUserAction(handler)
,debug.performUserAction(...actions)
, anddebug.getCallStack()
functions for debuggers.