-
Notifications
You must be signed in to change notification settings - Fork 511
Debugger is not showing various properties in variable panel #4314
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
Comments
Other users have confirmed the same results when using some basic functions like This seems like something is pretty wrong? The debugger is broken for a lot of things unless I'm doing it wrong? |
@SeeminglyScience it turns out that most of these wanted fields are marked as |
Actually, they were not missing because they were |
Thanks @andschwa!! Any idea when the update will be available on the marketplace? |
It'll be in the preview extension later today! |
@AlexHimself it's out! |
Great! I'll give it a shot tomorrow!
|
Hmm...@andschwa are you sure it's released? I verified my VSCode is up to date and have the |
Yes, I see v2022.12.1 released 12/20 on https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell-Preview, and in the embedded marketplace in VS Code. Maybe restart Code? |
Uhh, I'm sorry, you're right, it should be v2022.12.2...funny because it shows the date as updated and the publish step didn't fail. Looking... |
For now you can download the preview from https://github.com/PowerShell/vscode-powershell/releases/tag/v2022.12.2-preview and install the VSIX manually. Something must have failed on the marketplace end because the pipeline that released it literally got a "success" result from it. |
I tried to manually publish and got this: INFO Publishing 'ms-vscode.powershell-preview v2022.12.2'... I think they're having server issues. I suggest waiting that out or using the VSIX manually. |
That makes sense and I already installed it manually to get the |
Prerequisites
Summary
When debugging PowerShell relating to the
PnP-SharePoint
module and reviewing variables in the debugger, not all properties are being displayed.Using the below code (see screenshot), the various properties are missing. This happens with other PS SharePoint objects as well.
I would expect at a minimum to see
$item.Name
visible in the debugger.Also
$item | Get-Member -MemberType Properties -Name "Name"
or even$item | Get-Member
both return various properties not exposed by the debugger.Similarly, even commands like
Get-ChildItem
aren't showing properties? See screenshot.PowerShell Version
Visual Studio Code Version
Extension Version
Steps to Reproduce
$siteURL
to your SharePoint site-FolderSiteRelativeUrl
to your document library that contains some files$item.Name
and examine the debugger for the local variable$item
and expand the node.Name
Visuals
Logs
No response
The text was updated successfully, but these errors were encountered: