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
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
難度 2/5 1-3 小時 新手友好度 78/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難度 1/5 1 小時以內 新手友好度 76/100
-
code-quality refactoring
難度 2/5 1-3 小時 新手友好度 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
難度 2/5 1-3 小時 新手友好度 74/100
langchain-ai/deepagents#6450 ·
-
難度 1/5 1 小時以內 新手友好度 88/100
vercel/react-tweet#225 ·