PowerShell / PowerShell/vscode-powershell

Debugger times out with no terminal output

オープン
#683 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

Area-Debugging Issue-Performance
主要言語
TypeScript
スター
1.9k
フォーク
548
PR マージ指標
30日以内にマージされた PR はありません

説明

System Details
  • Operating system name and version: Windows 10
  • VS Code version: 1.11.2
  • PowerShell extension version: 0.12.2
  • Output from $PSVersionTable:
Name                           Value
----                           -----
PSVersion                      5.1.14393.1066
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.1066
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
PS C:\Users\andrewsav> code -v
1.11.2
6eaebe3b9c70406d67c97779468c324a7a95db0e
PS C:\Users\andrewsav> $pseditor.EditorServicesVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
0      12     1      0


PS C:\Users\andrewsav> code --list-extensions --show-versions
DavidAnson.vscode-markdownlint@0.7.1
ksubedi.net-core-project-manager@0.3.6
mitaki28.vscode-clang@0.2.2
ms-vscode.cpptools@0.10.5
ms-vscode.csharp@1.8.1
ms-vscode.PowerShell@0.12.2
sandcastle.whitespace@0.0.4
swyphcosmo.spellchecker@1.2.13
twxs.cmake@0.0.17
vector-of-bool.cmake-tools@0.9.4
PS C:\Users\andrewsav> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.14393.1066
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.1066
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
Issue Description

Open VS Code. Select "New File" from the menu. Type "Test 1" | Write-Output and then press enter. Press Ctrl+s and save the file as test1.ps1. Select "New Window" from the menu to open a second window. In the second window select "New File" from the menu. Type "Test 2" | Write-Output and then press enter. Press Ctrl+s and save the file as test2.ps1. Press F5 to run the script. Observe Test 2 printed out to the console. Close the second window. In the first windows press F5 to run the script. Observe nothing happening for a few dozen seconds and then error message "Timed out waiting for the PowerShell extension to start.". Nothing is printed out to the console.

Attached Logs

logs.zip

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、issue に記載されている PowerShell 拡張機能を使った 2 ウィンドウの手順を再現し、その後 logs.zip を調べて起動時のタイムアウトを確認します。最初のウィンドウで F5 を押すと拡張機能が起動し、タイムアウトせずにスクリプトの出力が表示されれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
powershell, typescript, vscode
領域
devtools
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。