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

New settable parameter to force stack traces from all asserts

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.1.0
    • None
    • Admin
    • None
    • Fully Compatible

    Description

      It would be nice to be able to do something like :

      mongo <host>
      > use admin
      > db.runCommand(

      { setParameter : 1, forceAssertStackTrace : true }

      )

      which would then start printing full stack traces for all assertions on the running server. This would be useful in tracking down uncaught exceptions from frequently-used parts of the code.

      Attachments

        Activity

          People

            greg_10gen Greg Studer
            greg_10gen Greg Studer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: