microsoft / microsoft/vscode-java-debug

Breakpoints not working

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

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

ai-triaged bug
主要言語
TypeScript
スター
591
フォーク
429
平均マージ
1日 9時間
マージ済み PR(30日)
19

説明

When I set a breakpoint in code that I know is running, it never breaks. Previously, I could revert to 0.58.0 to fix this, but it seems that every version (including the prereleases) are broken now. I removed every vscode file I could find in case this was caused by an invalid cache, but it hasn't fixed it. I can pause threads manually, it's just breakpoints that don't work. I don't see any errors in the logs.

System java version: 21 (though I also tried with JAVA_HOME set to 17)
Debuggee java version: 21
Debugger java version: 1.8.0_442 (there's a warning about it)

I'm not sure what else I can check, any advice is welcome.

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

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

はじめの一歩

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

調査の方向性

まず、記載されているシステム、デバッグ対象、デバッガーの Java バージョンを使って VS Code でブレークポイントの失敗を再現し、その後バージョン 0.58.0 と比較します。ブレークポイントと手動でのスレッド一時停止をテストしながらデバッガーのログを調査します。ブレークポイントによって実行が確実に停止し、新しいエラーが発生しなければ完了です。

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

評価

技術スタック
java, typescript, vscode
領域
devtools
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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