PowerShell / PowerShell/vscode-powershell

Console hangs when running a code selection in remote session file.

Open
#1,275 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area-Extension Terminal Issue-Bug
Dominant language
TypeScript
Stars
1.9k
Forks
547
PR merge metrics
No merged PRs in 30d

Description

1524057200-5e66cb1b-9c4f-47af-ab37-561f66c6f6b11524057195926.zip

Issue Description

The console hangs when running a code selection in remote session file.

Steps to reproduce.
Enter-PSSession
Open-EditorFile
Select a line from opened file and Run Selection.

The console then hangs.

Attached Logs

Follow the instructions in the README about
capturing and sending logs.

Environment Information

Visual Studio Code
Name Version
Operating System Windows_NT x64 10.0.15063
VSCode 1.22.2
PowerShell Extension Version 1.6.0
PowerShell Information
Name Value
PSVersion 5.1.15063.966
PSEdition Desktop
PSCompatibleVersions 1.0 2.0 3.0 4.0 5.0 5.1.15063.966
BuildVersion 10.0.15063.966
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
gitlens eamodio 8.2.1
gremlins nhoizey 0.7.0
PowerShell ms-vscode 1.6.0
python ms-python 2018.3.1
tslint eg2 1.0.28
vscode-icons robertohuertasm 7.22.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with Enter-PSSession, Open-EditorFile , and Run Selection on a selected line. Start by reviewing the attached logs and the repository's README reporting instructions, then trace the remote-session and selection execution path. Done means running a selection in a remote session file no longer hangs the console.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, typescript, vscode
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.