Can't step over breakpoint on lambda expression/step filters ignored
まだ誰も着手していません。
評価
- 難易度
- 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時間
- マージ済み PR(30日)
- 19
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 1週間以上 初心者へのやさしさ 25/100
microsoft/vscode-java-debug#1616 · コメント 1 件 ·
microsoft/vscode-java-debug の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
0xMiden/bridge-portal#132 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/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時間 初心者へのやさしさ 84/100
newrelic-experimental/preflight#793 · コメント 1 件 ·