Can't step over breakpoint on lambda expression/step filters ignored
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 42/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 停滯
- 技術堆疊
- java, typescript, vscode
- 領域
- devtools
研究方向
使用 test.java 和提供的 launch.json 重現此問題,在第 4 行和第 10 行設定中斷點,並單步跳過 lambda。比較觀察到進入 HashMap.class 的情況與預期的步進篩選器行為;完成標準是單步跳過 lambda,並依照設定避開標準函式庫類別。
由索引模型根據 Issue 內容生成。
描述
If you set a breakpoint on a line of code containing a lambda expression, attempts to step over the code will result in a step into the code. If the lambda expression is a function of the standard library and your step filters are enabled, you will still have to trudge through many .class files.
Environment
- Operating System: Windows 10
- JDK version: 1.8.0_181
- Visual Studio Code version: 1.37.0-insider (system setup)
- Java extension version: 0.7.1 (assuming this refers to the Java Extension Pack)
- Java Debugger extension version: 0.20.0
Steps To Reproduce
-
Set breakpoints on lines 4 and 10 of test.java
-
Debug test.java with the provided launch.json
-
Repeatedly step-in until you have reached line 10. Observe that the debugger has not forced you to view the HashMap.class file or any of the standard libraries.
-
Attempt to step-over line 10. Observe that the debugger has stepped-in.
-
Attempt to step-over again. Observe that you are now viewing the HashMap.class file, despite the settings in launch.json, which should have prevented this.
Current Result
Stepping over a lambda expression with a breakpoint will step in, even if your step filters should prevent this.
Expected Result
Stepping over a lambda expression with a breakpoint should step over the expression. Regardless, step filters should prevent viewing of standard libraries.
Additional Informations
I already tried this on the current stable build of vscode - same problem there as well.
- 主要語言
- TypeScript
- 星號
- 591
- 分支
- 429
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 19
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
microsoft/vscode-java-debug 的其他 Issue
-
ai-triaged enhancement
難度 3/5 1-2 天 新手友好度 55/100
microsoft/vscode-java-debug#1689 · 2 則留言 ·
-
ai-triaged bug
microsoft/vscode-java-debug#1666 · 1 則留言 · 已指派 1 人 ·
-
ai-triaged bug
難度 3/5 1-2 天 新手友好度 48/100
microsoft/vscode-java-debug#1658 · 1 則留言 ·
-
ai-triaged enhancement
難度 4/5 3-5 天 新手友好度 45/100
microsoft/vscode-java-debug#1628 · 3 則留言 ·
-
Feature support. 未關閉ai-triaged enhancement
難度 5/5 一週以上 新手友好度 25/100
microsoft/vscode-java-debug#1616 · 1 則留言 ·
查看 microsoft/vscode-java-debug 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 78/100
-
area:tools bug good first issue help wanted priority:P2
難度 2/5 1-3 小時 新手友好度 90/100
TaewoooPark/Motifcode#14 ·
-
bug 🐞
難度 2/5 1-3 小時 新手友好度 68/100
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) 未關閉
難度 2/5 1-3 小時 新手友好度 84/100
BasedHardware/omi#15320 ·
-
難度 2/5 半天 新手友好度 78/100
vercel/vercel-plugin#199 ·