You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way $null is represented makes it difficult to distinguish between an empty string value $MyStringVar = "" vs an uninitialzed variable $VarThatDoesNotExist.
I'm not certain if this is VSCode or the PowerShell extension
andyleejordan
changed the title
WATCH debugging pane represents $null as an empty string ""
When the built-in $null was watched its value was incorrect
Nov 10, 2023
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
Summary
The debugging WATCH pane shows
$null: ""
$null
is represented makes it difficult to distinguish between an empty string value$MyStringVar = ""
vs an uninitialzed variable$VarThatDoesNotExist
.PowerShell Version
Visual Studio Code Version
Extension Version
Steps to Reproduce
Add
$null
to the debugging WATCH list.Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered: