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

Include binary path in stack traces and make mongosymb.py work without it

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Programmability
    • Fully Compatible

      It is really annoying to have to specify the path because it changes based on which program generated the stacktrace, so you can't just use a single command like xclip -o | mongosymb.py and need to use different commands depending on the binary. This makes it harder to integrate with IDEs and other tooling.

      On linux we can get the path via reading the symlink at /proc/self/exe. Here is a stackoverflow answer with the API for a bunch of other OSes, but just doing this for linux would be a significant win.

            Assignee:
            schwerin@mongodb.com Andy Schwerin
            Reporter:
            mathias@mongodb.com Mathias Stearn
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: