microsoft / microsoft/vscode-java-debug

Breakpoints not working

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

还没有人认领这个 Issue。

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

调研方向

首先,使用列出的系统、被调试程序和调试器 Java 版本,在 VS Code 中重现断点失败问题,然后将其与版本 0.58.0 进行比较。测试断点和手动暂停线程时,检查调试器日志;当断点能够可靠地停止执行且不产生新错误时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java, typescript, vscode
领域
devtools
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。