Skip to content

VSCode doesn't stepin into debug function but is left outside #1788

@PrzemyslawKlys

Description

@PrzemyslawKlys

System Details

System Details Output

### VSCode version: 1.32.1 05f146c7a8f7f78e80261aa3b2a2e642586f9eb3 x64

### VSCode extensions:
aeschli.vscode-css-formatter@1.0.1
atomiks.moonlight@0.7.0
CoenraadS.bracket-pair-colorizer-2@0.0.28
donjayamanne.githistory@0.4.6
eamodio.gitlens@9.5.1
ecmel.vscode-html-css@0.2.0
emmanuelbeziat.vscode-great-icons@2.1.47
GitHub.vscode-pull-request-github@0.5.0
Kelvin.vscode-sshfs@1.14.3
liximomo.remotefs@0.0.13
monokai.theme-monokai-pro-vscode@1.1.12
ms-vscode.PowerShell@1.11.0
PKief.material-icon-theme@3.6.3
shd101wyy.markdown-preview-enhanced@0.3.12
WakaTime.vscode-wakatime@1.2.13
yzhang.markdown-all-in-one@2.1.1


### PSES version: 1.11.0.0

### PowerShell version:

Name                           Value
----                           -----
PSVersion                      5.1.17763.316
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.17763.316
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Issue Description

Since some time (most likely on an upgrade of VSCode to the last version) I'm having a hard time debugging multi-file modules. You set a breakpoint in a function in 1 file, run the debug in the .ps1 somewhere else and breakpoint stops correctly but you are shown it stopped on the function executing it, not the breakpoint part. The data is also incorrect at that stage (or hidden) and you have to try and find it.

I am not sure if it has been reported before, I saw this on twitter a few days ago and confirmed with at least 1 other person experiencing this.

And to be honest it doesn't always happen. It happens randomly.

I'll try to catch it with some screenshots next time it happens

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