Can't step over breakpoint on lambda expression/step filters ignored
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- java, typescript, vscode
- Lĩnh vực
- devtools
Hướng nghiên cứu
Tái hiện vấn đề với test.java và launch.json được cung cấp, đặt điểm dừng ở dòng 4 và 10 rồi step over lambda. So sánh việc đi vào HashMap.class được quan sát với hành vi bộ lọc bước mong đợi; hoàn tất khi step over lambda và tránh các lớp thư viện chuẩn theo cấu hình.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 591
- Fork
- 429
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 19
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/vscode-java-debug
-
ai-triaged enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 55/100
microsoft/vscode-java-debug#1689 · 2 bình luận ·
-
ai-triaged bug
microsoft/vscode-java-debug#1666 · 1 bình luận · 1 người được giao ·
-
ai-triaged bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
microsoft/vscode-java-debug#1658 · 1 bình luận ·
-
ai-triaged enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
microsoft/vscode-java-debug#1628 · 3 bình luận ·
-
Feature support. Đang mởai-triaged enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
microsoft/vscode-java-debug#1616 · 1 bình luận ·
Tất cả issue của microsoft/vscode-java-debug
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
0xMiden/bridge-portal#132 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
area:tools bug good first issue help wanted priority:P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
TaewoooPark/Motifcode#14 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
newrelic-experimental/preflight#793 · 1 bình luận ·