Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-94809

Richer mongo shell debugging

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution

      mozjs already has some included Debugging facility https://github.com/mongodb/mongo/tree/master/src/third_party/mozjs/extract/js/src/debugger that we can use in the shell.

      db.trap() only lets you SIGTRAP when it hits that line. the goal of this ticket would be the next step to allow interactive debugging similar to pdb.breakpoint() https://docs.python.org/3/library/functions.html#breakpoint where it drops you into a shell and you can set more breakpoints and inspect local vars.

            Assignee:
            Unassigned Unassigned
            Reporter:
            mickey.winters@mongodb.com Mickey Winters
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: