Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Josverl opened this issue Jun 13, 2017 · 5 comments
Assignees
Labels

Comments

@Josverl
Copy link
Contributor

Josverl commented Jun 13, 2017

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...

@rkeithhill
Copy link
Contributor

Yup, I've seen this. Will look into it shortly.

@rkeithhill rkeithhill self-assigned this Jun 13, 2017
@rkeithhill rkeithhill added this to the June 2017 milestone Jun 13, 2017
@daviwil daviwil added Area-Debugging Issue-Bug A bug to squash. labels Jun 16, 2017
@mrboring
Copy link

@Josverl Thanks, I was just going to create an issue for this.

$pseditor.EditorServicesVersion

Major Minor Build Revision


1 4 1 0

[DBG]: > code --list-extensions --show-versions
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

[DBG]: > $PSVersionTable

Name Value


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

@rkeithhill
Copy link
Contributor

PR is on the way. Hopefully will make it into the next drop.

@rkeithhill
Copy link
Contributor

@daviwil
Copy link
Contributor

daviwil commented Jun 28, 2017

This will come out in a patch update over the next few days. Thanks Keith!

@daviwil daviwil modified the milestones: 1.4.2, June 2017 Jun 28, 2017
@daviwil daviwil modified the milestones: 1.4.2, 1.5.0 Aug 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants