microsoft / microsoft/vscode-java-debug
Support method and field access breakpoints via source editor and Outline view
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 591
- 派生
- 429
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 19
描述
JDI supports Constructor, Methods entry and exit (normal return or exceptional return) and Field (access and modification) breakpoints. Support these via:
- the source editor
- decompiled .class source editor
However, the best place to support this is via the Outline view. This is because the Outline view shows the structure of the .class files (even if the de-compilation was not possible) as well, not only .java files. Also outline view can support direct and easy setting of these breakpoints.
I am aware of FQCN#method mechanism for adding method breakpoints buy it is not clear how to set this for overloaded methods.
Also CTOR and method breakpoints are useful when the source line numbers do not match the actual compiled class bytecode exactly but is in the neoghborhood.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
检查源代码编辑器、反编译的 .class 源代码编辑器和 Outline view 当前如何公开 Java 元素和断点。定义对 JDI 构造函数、方法进入/退出以及字段访问/修改断点的支持,包括重载方法,并让 Outline view 覆盖反编译失败的类;验证每个请求的视图中的行为。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, typescript
- 领域
- devtools
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100