[SERVER-26634] Integrate GDB pretty printers for server vocabulary types Created: 14/Oct/16  Updated: 05/Jul/21  Resolved: 08/Dec/16

Status: Closed
Project: Core Server
Component/s: Diagnostics
Affects Version/s: None
Fix Version/s: 3.4.5, 3.5.1

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Mark Benvenuto
Resolution: Done Votes: 1
Labels: bkp
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Related
related to SERVER-58281 hang analyzer unable to load BSON lib... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4
Sprint: Platforms 2017-01-23
Participants:

 Description   

We should merge (and greatly extend) the GDB pretty printers from https://github.com/redbeard0531/mongo_gdb into the server repository to make them generally available to developers.

We should probably add them under etc/gdb.

We should probably also write a top level project-specific .gdbinit so that the extensions can be auto-loaded:

https://sourceware.org/gdb/current/onlinedocs/gdb/Auto_002dloading.html#Auto_002dloading



 Comments   
Comment by Githook User [ 27/Apr/17 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-26634 GDB Pretty-Printers and Commands

(cherry picked from commit aad88dd01b39f1c689280289e8fe00f87dcb1db3)
(cherry picked from commit a1454c7f3dff6171d3955b67017908fd7d64c99c)
(cherry picked from commit 586ac20773ff7dc18cabf329c238bf261e00387d)
Branch: v3.4
https://github.com/mongodb/mongo/commit/a4b27f199091db3a55ea82078c1b1f387ae64ab8

Comment by Githook User [ 09/Dec/16 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-26634 GDB Pretty-Printers and Commands
Branch: master
https://github.com/mongodb/mongo/commit/586ac20773ff7dc18cabf329c238bf261e00387d

Comment by Githook User [ 08/Dec/16 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-26634 GDB Pretty-Printers and Commands
Branch: master
https://github.com/mongodb/mongo/commit/a1454c7f3dff6171d3955b67017908fd7d64c99c

Comment by Githook User [ 08/Dec/16 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-26634 GDB Pretty-Printers and Commands
Branch: master
https://github.com/mongodb/mongo/commit/aad88dd01b39f1c689280289e8fe00f87dcb1db3

Comment by Andrew Morrow (Inactive) [ 14/Oct/16 ]

We should probably also do something for lldb: http://stackoverflow.com/questions/17267436/pretty-printer-for-stl-in-lldb

Generated at Thu Feb 08 04:12:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.