Skip to content

Variables in the debugger are not displayed if type is PSObject #61

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

Closed
rkeithhill opened this issue Dec 7, 2015 · 0 comments
Closed

Comments

@rkeithhill
Copy link
Contributor

I see this when debubbing a filter definition like:

filter foo {
    "`$_ is $_"
}

In the Variables window $_ shows up with no value. I believe the problem is that the code that checks to see if the variable is expandable returns true on primitives wrapped in a PSObject. I have a fix I'll submit in a few.

@rkeithhill rkeithhill changed the title Variables in the debugger are not displayed is type is PSObject Variables in the debugger are not displayed if type is PSObject Dec 7, 2015
rkeithhill added a commit that referenced this issue Dec 7, 2015
daviwil added a commit that referenced this issue Dec 7, 2015
Fix for #61 - PSObject not unwrapped when determining if a PSVariable…
@daviwil daviwil closed this as completed Dec 7, 2015
TylerLeonhardt pushed a commit to TylerLeonhardt/PowerShellEditorServices that referenced this issue Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants