Skip to content

Anonymous struct members not viewable in debugger #10979

@divonlan

Description

@divonlan

Effectively reopening #966, as it is still only partially working.
See screenshot, I have a struct containing a member which is an anonymous struct.

  1. In "Variables" I can see the anonymous member of the struct, but it incorrectly labels it as an anonymous union while it is in fact an anonymous struct.
  2. In "Watch" I am trying to view a member of the anonymous struct, but its not working.
  3. In debug mode, when hovering over a member of the anonymous struct in the editor, expecting its value to be shown, but it isn't.

Visual Studio Code version 1.78.2 on Windows 10 / mingw, using gcc with -fms-extensions / gdb
anonymous-struct-vsc-bug

Originally posted by @divonlan in #966 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    debuggerinvestigate: reproThis issue's repro steps needs to be investigated/confirmed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions