microsoft / microsoft/vscode-java-debug

Debugging a war|exploded war ignores breakpoints

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

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

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

説明

After the deploy on Tomcat of a war or an exploded war and having set breakpoints, the execution does not stops successfully at the breakpoints.

Environment
  • Operating System: Win10 Pro - Build No : 19045.3570 version : 22H2
  • JDK version: JDK 1.8.0_371
  • Visual Studio Code version: 1.84.0 User Setup
  • Java extension version: Extension Pack for Java v0.25.15
  • Java Debugger extension version: Debugger for Java v0.55.0
  • Community Server Connectors v0.26.13
  • Application Server: Tomcat-7.0.109
Steps To Reproduce
  1. deploy war on Tomcat
  2. start Tomcat in debug mode
  3. set breakpoints on Java sources
  4. navigate the webapp in order to hit breakpoints
Current Result

The breakpoints are ignored, as if the breakpoints are not set

Expected Result

The execution should stop at breakpoints, highlighting the source code row reached

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

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

はじめの一歩

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

調査の方向性

一覧に記載された JDK、VS Code、Java debugger、Community Server Connectors、Tomcat のバージョンを使い、WAR と exploded WAR の両方で問題を再現します。再現手順に記載されたデプロイとブレークポイントの動作から開始します。完了条件は、Web アプリケーション内のナビゲーションで Java ソースのブレークポイントに到達して一時停止し、到達した行がハイライトされることです。

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

評価

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

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

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