Skip to content

Debug Watch Variable does not show usefull information for non-simple variable types  #872

Closed
@Josverl

Description

@Josverl

Issue Description

Variable Watches show less detail than the Auto variable view

While debugging a piece of code that uses a variable such as a hash table, the Wacth window is less than helpful.
#Code
$Groups = @{}
$Groups.Add( 'foo', 'bar' )

AUTO
$Groups: [Hashtable: 1 ]
and then the actual content of the hashtable

WATCH
$Groups: "System.Collection.Hashtable..."

Expected :
I would expect the WATCH view to show the same detail level as the AUTO view ( Which is great , but sometimes is not convenient to track a specific variable.

System Details

1.13.0
376c52b955428d205459bea6619fc161fc8faacf
Andreabbondanza.ignoregit@1.0.1
dansilver.typewriter@1.0.1
eamodio.gitlens@4.1.1
ms-mssql.mssql@1.0.0
ms-vscode.PowerShell@1.3.2
ms-vsts.team@1.118.2
samverschueren.yo@0.9.3
VisualStudioOnlineApplicationInsights.application-insights@0.4.1

Name Value


PSVersion 5.1.14393.1198
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.14393.1198
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

I am experiencing a problem with...

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions