summaryrefslogtreecommitdiff
path: root/installed-tests/debugger/continue.debugger.js
Commit message (Collapse)AuthorAgeFilesLines
* maint: Add copyright notices to debugger testsPhilip Chimento2020-11-301-0/+2
| | | | | These are a bit more difficult to get right since adding them adjusts the line numbers and the expected output, so we add them in a separate commit.
* debugger: GJS DebuggerPhilip Chimento2018-07-221-0/+2
This adds a simple debugger, adapted from the "jorendb" program in the SpiderMonkey source. It has basic stepping, breaking, and printing commands, that work like GDB. Activate it by running the GJS console interpreter with the -d or --debugger flag _before_ the name of the JS program on the command line. To integrate it into programs that embed the GJS interpreter, call gjs_context_setup_debugger_console() before executing the JS program. It will print when Promises are launched and resolved, although it's not yet possible to break at those points. Closes: #110