microsoft / microsoft/vscode-java-debug

Debugging a war|exploded war ignores breakpoints

未关闭
#1,405 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

ai-triaged question
主要语言
TypeScript
星标
591
派生
429
平均合并
1 天 9 小时
30 天内合并 PR
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. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 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 摘要。