Dump JS debug information when aborting in the mongo shell

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • None
    • Server Tooling & Methods
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When an invariant is hit in the mongo shell, it can be hard to figure out from the core dump which JS-side functions called into the native code to trip the invariant, especially since a lot of the function names are optimized out in mozjs. It'd really help to dump this at runtime.

      This might need some investigating. I'm not sure how feasible it would be to get access to the JS stack at the last second.

            Assignee:
            Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            Raiden Worley (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: