code-debug
code-debug copied to clipboard
Debug window type output does not respect any of GDB's `TypePrinter`s
Version: 0.27.0
VSCode can display variable type names in the debug pane via the option settings -> Features -> Debug -> Show Variable Types. GDB's python API has support to customize the displayed type of a value. This can lead to situations where the debug pane does not match GDB's output.
Debug pane:
Terminal:
I think you say that the terminal prints it "as expected" but the variable view does not use the setup type printers, right?
Can you provide a debug log (=trace) so we see what is executed in both cases, by re-running after adding showDevDebugOutput: true, printCalls: true, to your launch config and copy the debug console's output here, please?