Strange output at the end of the js file debug
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript, node.js
- 領域
- devtools
調査の方向性
まず、Node プログラムのデバッグ手順を繰り返し再現し、dapDebugServer.js を調査します。特に、stack trace で 91 行目と 148 行目付近に示されている箇所を確認してください。JSON、コンソール出力、または EPIPE エラーが表示される実行結果を比較します。繰り返しデバッグしても、報告されたソケットエラーや予期しないデバッグ応答が発生しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Sometimes, I get a strange output in the console at the end of debugging. The output is:
Debug server listening at 127.0.0.1:44301
{
seq: 286,
type: 'response',
request_seq: 13,
command: 'disconnect',
success: true,
body: {}
}
{
seq: 287,
type: 'response',
request_seq: 14,
command: 'disconnect',
success: true,
body: {}
}
{
seq: 11,
type: 'response',
request_seq: 8,
command: 'disconnect',
success: true,
body: {}
}
node:events:495
throw er; // Unhandled 'error' event
^
Error: This socket has been ended by the other party
at Socket.writeAfterFIN [as write] (node:net:569:14)
at iv.send (/home/user/Programas/eclipse/plugins/org.eclipse.wildwebdeveloper_1.1.2.202310160731/js-debug/src/dapDebugServer.js:148:162)
at df._send (/home/user/Programas/eclipse/plugins/org.eclipse.wildwebdeveloper_1.1.2.202310160731/js-debug/src/dapDebugServer.js:91:4596)
at df._onMessage (/home/user/Programas/eclipse/plugins/org.eclipse.wildwebdeveloper_1.1.2.202310160731/js-debug/src/dapDebugServer.js:91:5086)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Emitted 'error' event on Socket instance at:
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'EPIPE'
}
Node.js v18.18.0
It is important to note that this error is not shown every time. Sometimes it happens, sometimes it doesn't.
Steps to reproduce:
- Create a js file with the following code:
console.log("test")
- Put a breakpoint in the console.log line
- Right click on the file body.
- Select "Debug As -> Node program"
- Press f8 to continue the debug
- Repeat the debug several times
Sometimes the error is not shown. Sometimes only the json is shown. Sometimes only console.log output is shown.
I hope that every time the debug occurs, only the console.log output is shown.
It appears that some process is trying to write in a socket but it has already been terminated.
- 主要言語
- Java
- スター
- 203
- フォーク
- 76
- 平均マージ
- 1日 5時間
- マージ済み PR(30日)
- 30
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
eclipse-wildwebdeveloper/wildwebdeveloper のほかの issue
-
Markdown and Astro language servers do not start when the project path contains a non-ASCII character or a space対応中かも @RoiSoleil が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
eclipse-wildwebdeveloper/wildwebdeveloper#2277 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
eclipse-wildwebdeveloper/wildwebdeveloper#2236 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
eclipse-wildwebdeveloper/wildwebdeveloper#2177 ·
メンテナーはふだん 1 日以内に返信
-
SQL Language serverオープンenhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
eclipse-wildwebdeveloper/wildwebdeveloper#2122 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
eclipse-wildwebdeveloper/wildwebdeveloper#2070 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
eclipse-wildwebdeveloper/wildwebdeveloper の issue をすべて見る
似ている issue
-
面渣逆袭Spring事务传播机制勘误オープン
難易度 1/5 1時間未満 初心者へのやさしさ 80/100
itwanger/toBeBetterJavaer#218 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
johanhaleby/occurrent#1462 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
SasanLabs/VulnerableApp#912 ·
メンテナーはふだん 1 日以内に返信
-
area/build area/events area/storage area/storage/kafkasql area/storage/sql
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Apicurio/apicurio-registry#11079 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
OpenAEV-Platform/openaev#9139 ·
メンテナーはふだん 1 日以内に返信