Open Fantoom opened 2 months ago
I wonder if this is releated to https://github.com/PowerShell/vscode-powershell/issues/5013 (which I think is due to an issue of the scope not updating internally).
Err I don't think it's the same but I'm adding it to my related bugs list.
Prerequisites
Summary
Setting nested field value throws
Unable to cast object of type 'Microsoft.PowerShell.EditorServices.Services.DebugAdapter.VariableDetails' to type 'Microsoft.PowerShell.EditorServices.Services.DebugAdapter.VariableContainerDetails'.
The code below should be causing the problem.
https://github.com/PowerShell/PowerShellEditorServices/blob/41fce39f491d5d351b4ac5864e89857ec070e107/src/PowerShellEditorServices/Services/DebugAdapter/DebugService.cs#L390
PowerShell Version
Editor Version
PowerShell Editor Services Version
Steps to Reproduce
1) Put breakpoint on line 4 (
Write-Host $val
) 2) Start debugging 3) Open "Local" scope in Variables tab 4) Find $val and change NestedField valueVisuals
No response
Logs
No response