Description
Prerequisites
- I have written a descriptive issue title.
- I have searched all issues to ensure it has not already been reported.
- I have read the troubleshooting guide.
- I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
- I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
Summary
When starting Wait-Debugger, a nullpointerexception happens due to the lack of stackFrameDetails
PowerShell Version
7.1
Visual Studio Code Version
1.63.0-insider
Extension Version
Preview
Steps to Reproduce
Enter-PSHostSession <some other pwsh.exe>
Wait-Debugger
Visuals
Logs
Exception has occurred: CLR/System.NullReferenceException
An exception of type 'System.NullReferenceException' occurred in Microsoft.PowerShell.EditorServices.dll but was not handled in user code: 'Object reference not set to an instance of an object.'
at Microsoft.PowerShell.EditorServices.Services.DebugService.d__53.MoveNext() in C:\Users\JGrote\Projects\PowerShellEditorServices\src\PowerShellEditorServices\Services\DebugAdapter\DebugService.cs:line 953