Open
Description
Issue Description
When I run a debug session two things happen:
- Any addition or removal of breakpoints is not respected
- The Integrated shell Crashes after not exiting correctly
You can replicate this by running a small script like:
while ($true)
{
Write-Output "I'm In a loop"
Start-Sleep 10
Write-Output "I just woke up"
}
Removing Breakpoint
- Set a breakpoint on the first
Write-Output
- Debug The script
- Remove Breakpoint on First
Write-Output
- Continue running
What will happen is the debugger will break again on the first Write-Output
and you won't be able to continue. If you stop execution and type exit
in the debug terminal the integrated terminal will crash
Adding Breakpoint
- Debug the script
- Set a breakpoint anywhere in the while loop
- It will never be hit.
Attached Logs
EditorServices.log
vscode-powershell.log
) about
capturing and sending logs.
Environment Information
Visual Studio Code
Name | Version |
---|---|
Operating System | Windows_NT x64 10.0.16299 |
VSCode | 1.26.1 |
PowerShell Extension Version | 1.8.3 |
PowerShell Information
Name | Value |
---|---|
PSVersion | 5.1.16299.492 |
PSEdition | Desktop |
PSCompatibleVersions | 1.0 2.0 3.0 4.0 5.0 5.1.16299.492 |
BuildVersion | 10.0.16299.492 |
CLRVersion | 4.0.30319.42000 |
WSManStackVersion | 3.0 |
PSRemotingProtocolVersion | 2.3 |
SerializationVersion | 1.1.0.1 |
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
Extension | Author | Version |
---|---|---|
aspnet-helper | schneiderpat | 0.6.4 |
ecdc | mitchdenny | 0.12.0 |
EditorConfig | EditorConfig | 0.12.4 |
github-issues-prs | ms-vscode | 0.9.0 |
gitlens | eamodio | 8.5.6 |
jenkins-declarative-support | jmMeessen | 0.1.0 |
markdown-all-in-one | yzhang | 1.6.0 |
PowerShell | ms-vscode | 1.8.3 |
python | ms-python | 2018.7.1 |
rainbow-csv | mechatroner | 0.4.2 |
vscode-github | KnisterPeter | 0.30.0 |
vscode-icons | robertohuertasm | 7.25.0 |
vscode-markdownlint | DavidAnson | 0.20.0 |
vscode-mermaid-preview | vstirbu | 0.10.1 |
xml | DotJoshJohnson | 2.3.2 |