GNOME Bugzilla – Bug 744099
[RFC] Interactive Debugger
Last modified: 2017-09-12 05:50:44 UTC
This is a prototype for an interactive debugger for gjs. Please feel free to rip it apart. Its at a very early stage right now, but I'd like to get some feedback as to whether or not I'm going in the right direction with this. Effectively, this ties in the JS Debugger API with a readline based console. The goal is to have something that's gdb-like. At the moment only single-stepping and a "frame step" mode is available, but hopefully there should be more soon.
Created attachment 296283 [details] [review] Allow importer to be defined in other compartments
Created attachment 296284 [details] [review] jsapi: Refactor out gjs_eval_file_with_scope This function was being used in coverage.cpp, but its generally useful, so refactor it out.
Created attachment 296285 [details] [review] Debugger Prototype Feel free to rip it to shreds :)
Review of attachment 296283 [details] [review]: This patch seems to have been already committed as part of commit c93f1edf7b839f40556bdee242b6b706eee4ce58.
I've rebased the debugger patch on GJS master and moved it to bug 787573. *** This bug has been marked as a duplicate of bug 787573 ***