Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Query Execution
-
Fully Compatible
-
QE 2023-02-20, QE 2023-03-06
Description
[SERVER-74240 has been created for the Python pretty printer used by gdb. The current ticket is narrowed to just the C++ pretty printer. --kevin.cherkauer@mongodb.com ]
Add pretty printing of sbe CodeFragment for stackSize, maxStackSize and all fixups. Possibly something like suggested by david.percy@mongodb.com in
https://github.com/10gen/mongo/pull/9493#discussion_r1060674192
https://github.com/10gen/mongo/pull/9493#discussion_r1060681436
Possibly something along the lines of:
-- CODE:
|
[0x0000-0x002f] stackSize: 1, maxStackSize: 3 |
0x0000: pushConstVal(value: 10); |
...
|
0x0014: pushConstVal(value: Nothing); |
0x001e: sub(popLhs: 0, offsetLhs: 2, popRhs: 0, offsetRhs: 1); |
0x0022: fixup: <frameId> |
0x0024: fixup: <frameId> |