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
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

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