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

Cannot set breakpoint in jstests or mongo/shell

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

      some times you may have a test with lots of complicated setup and it might hit a breakpoint you are looking for many times before it hits it in the situation you want. instead of having to continue untill you get to the point you want it would be nice if there was a db.trap() or trap() shell helper that sends SIGTRAP to a process you are debugging. that way you can wait until you get to the situation you want and then set your other breakpoint in c++ code.

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

              Created:
              Updated: