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

The GDB printers for Status/StatusWith do not work

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2022-04-04

      They currently fail with the following error:

      (gdb) print responseStatus.toString()
      $2 = "OK"
      (gdb) print responseStatus
      $3 = Traceback (most recent call last):
        File "buildscripts/gdb/mongo_printers.py", line 49, in to_string
          code = self.val['_error']['code']
      gdb.error: There is no member or method named code.
      
      
      (gdb) print responseStatus._error
      $4 = {px = 0x0}
      (gdb) print str(responseStatus._error)
      

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: