-
Notifications
You must be signed in to change notification settings - Fork 518
Closed
Labels
Area-DebuggingBug: VS CodeBugs in VS Code itself.Bugs in VS Code itself.Issue-BugA bug to squash.A bug to squash.
Description
Unexpected behaviour in vscode 1.31:
- start debug session on a .ps1 file
- step into a .ps1 file on a path that is not below the current file, i.e. whose relative path has .. in it
- observe that focus stays on the original file, even though execution has now paused in the called file
- observe that switching focus to the called file and single stepping switches back to the original file
Downgrade back to vscode 1.30.2 to see desired behaviour:
- start debug session on a ps1 file
- step into the same script file
- observe the focus switches to the called file
- observe that single stepping keeps focus on the called file
What changed between 1.30.2 and 1.31? Is this just a powershell issue or does it occur in other languages? It looks like it's trying to implement 'just my code' but I can find no way to turn it off except to stay on 1.30.2.
corbob, exactmike, Glober777, fourpastmidnight, Aleksanderis and 7 more
Metadata
Metadata
Assignees
Labels
Area-DebuggingBug: VS CodeBugs in VS Code itself.Bugs in VS Code itself.Issue-BugA bug to squash.A bug to squash.