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 摘要。