- 
  Notifications
 You must be signed in to change notification settings 
- Fork 240
Commit 25122e9
committed
When the built-in 
This fixes the evaluation of `$null` itself and variables that don't
exist such that they display correctly in the watched variables pane of
the debugger. As noted, the issue was that we were doing a string join
even for a single (potentially null) value.
This also fixes the excess quotes bug around a single value.$null was watched its value was incorrect1 parent 6133c79 commit 25122e9
File tree
3 files changed
+10
-5
lines changed- src/PowerShellEditorServices/Services/DebugAdapter- Handlers
 
- test/PowerShellEditorServices.Test/Debugging
3 files changed
+10
-5
lines changedLines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
|  | |||
| 527 | 527 |  | |
| 528 | 528 |  | |
| 529 | 529 |  | |
| 530 | - | ||
| 531 | - | ||
| 530 | + | ||
| 532 | 531 |  | |
| 533 | - | ||
| 534 | - | ||
| 532 | + | ||
| 533 | + | ||
| 534 | + | ||
| 535 | + | ||
| 536 | + | ||
| 537 | + | ||
| 538 | + | ||
| 535 | 539 |  | |
| 536 | 540 |  | |
| 537 | 541 |  | |
|  | |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
|  | |||
| 22 | 22 |  | |
| 23 | 23 |  | |
| 24 | 24 |  | |
| 25 | + | ||
| 25 | 26 |  | |
| 26 | 27 |  | |
| 27 | 28 |  | |
|  | |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
|  | |||
| 529 | 529 |  | |
| 530 | 530 |  | |
| 531 | 531 |  | |
| 532 | - | ||
| 532 | + | ||
| 533 | 533 |  | |
| 534 | 534 |  | |
| 535 | 535 |  | |
|  | |||
0 commit comments