microsoft / microsoft/vscode-java-debug

[Feature]DCEVM: Cannot add break point for code that was created during running debug session

未关闭
#301 2 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

ai-triaged breakpoint enhancement feature request voting
主要语言
TypeScript
星标
591
派生
429
平均合并
1 天 9 小时
30 天内合并 PR
19

描述

I use DCEVM to do hot code replacement alot. This works greate so far.
But when I try to set a breakpoint to the code that has been created while the debug session is running, I only get a greyed out breakpoint. The tooltip hint tells me to restart the debugging session.

Environment
  • Operating System: 10.12.6 (16G1314)
  • JDK version: 1.8.0_144
  • Visual Studio Code version: 1.23.0 (1.23.0)
  • Java extension version: 0.25.0
  • Java Debugger extension version: 0.9.0
Steps To Reproduce
  1. start debugger
  2. add code
  3. try to set breakpoint into newly created code
Current Result

greyed out breakpint

Expected Result

regular breakpoint that works

Additional Informations

DCEVM is used to inject code

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

使用列出的 Java、VS Code 和扩展版本,按照提供的三个步骤复现 DCEVM 问题。跟踪活动调试会话期间添加的代码的断点是如何处理的;当新创建代码中的断点为普通断点,并且无需重启会话即可工作时,即视为完成。

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

评估

技术栈
java, vscode
领域
devtools, tooling
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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