Skip to content

Debug window type output does not respect any of GDB's TypePrinters #453

Open

Description

@Walnut356

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:

Image

Terminal:

Image

Activity

  1. GitMensch commented on Mar 3, 2025

    @GitMensch
    Collaborator

    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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions