Skip to content

debug: issues displaying dereferenced pointer value in the Variable pane #112

Open
@ramya-rao-a

Description

@ramya-rao-a

From @willfaught in microsoft/vscode-go#2176:

The dereferenced pointer value is labeled with a single colon, which might be a bug. See the b variable below:

screen shot 2018-12-04 at 11 42 02 pm

The debugger presentation of the pointer type seems incompatible with the other integral types (variables i and x in the example above). int(0) is displayed as i: 0, X(34) (where X is type X int) is displayed as x: 34, but (*int)(0xc0000160f8) is displayed as p: <*int>(0xc0000160f8). Maybe it makes sense to display it as just p: 0xc0000160f8 and let the user infer the type from the code like for the other variable types (and the presence of the drill down menu)?

Please see microsoft/vscode-go#2176 for more discussion on this

Metadata

Metadata

Assignees

Labels

DebugIssues related to the debugging functionality of the extension.debug/variablesissues related to variables inspection/presentation

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions