Skip to content

CTRL+SPACE triggers constant debugging loop when editing during debug phase #4373

@PrzemyslawKlys

Description

@PrzemyslawKlys

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all open and closed 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.
  • If this is a security issue, I have read the security issue reporting guidance.

Summary

I have started to notice this in last 1 or 2 versions. Basically I press F9 to stop on something in code. I then press F5, the code goes and stops on specific value. I then edit that value and then cancel with SHIFT+F5. Debugging stops, now I go to that value and type CTRL+SPACE (I am not sure if something else triggers it, probably yes, and debugging resumes out of nowhere.

This gif shows this
Bug

PowerShell Version

PSVersion                      7.4.0-preview.1
PSEdition                      Core
GitCommitId                    7.4.0-preview.1
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Visual Studio Code Version

1.74.3
97dec172d3256f8ca4bfb2143f3f76b503ca0534
x64

Extension Version

ms-vscode.powershell@2022.12.1                                                                                                                                                                                                                                                                          
ms-vscode.powershell-preview@2023.1.0                                                                                                                                                                                                                                                                   
tobysmith568.run-in-powershell@1.1.1                                                                                                                                                                                                                                                                    
TylerLeonhardt.vscode-inline-values-powershell@0.0.7

Steps to Reproduce

As described above

Visuals

No response

Logs

EditorServices.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions