microsoft / microsoft/vscode-java-debug
Stepping over a false conditional breakpoint stops the stepping and just continues.
未关闭
还没有人认领这个 Issue。
ai-triaged
bug
- 主要语言
- TypeScript
- 星标
- 591
- 派生
- 429
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 19
描述
public class DebugTest {
public static void main(String[] args) {
int x = 0;
foo();
x++;
x++;
}
public static void foo() {
int y = 0;
}
}
With this example In put a conditional breakpoint with condition false on int y= 0. Then I put a breakpoint on int x = 0; and used Step Over. After stepping over foo I didn't hit the later lines and the program just continues. Disabling the conditional breakpoint makes stepping over work as I would expect (went from foo() to x++).
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,在 vscode-java-debug 中使用位于 int y = 0 上的错误条件断点复现 Java 示例,然后比较禁用该断点时 Step Over 的行为。当从 foo() 单步执行能够到达后面的 x++ 行,而不是继续执行时,修复就完成了。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript
- 领域
- devtools
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100