Support SteppingGranularity "block"
@roblourens đang làm issue này rồi.
Từ ngày 18/11/2022.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
DAP supports SteppingGranularity, which is defined as
type SteppingGranularity = 'statement' | 'line' | 'instruction';
However, some debuggers like LLDB support stepping to the end of a block. From LLDB help:
$ help thread step-over
-e <linenum> ( --end-linenumber <linenum> )
The line at which to stop stepping - defaults to the next line and only supported for step-in and step-over. You can also pass the string
'block' to step to the end of the current block. This is particularly use in conjunction with --step-target to step through a complex
calling sequence.
So the following steps to the end of the current block:
thread step-over -e block
Could this "block" verb be added to SteppingGranularity?
- Ngôn ngữ chính
- HTML
- Star
- 1.8k
- Fork
- 173
- Merge trung bình
- 7 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
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/debug-adapter-protocol
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
microsoft/debug-adapter-protocol#633 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
microsoft/debug-adapter-protocol#599 · 8 reaction ·
-
under-discussion
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 48/100
microsoft/debug-adapter-protocol#596 · 9 bình luận ·