Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Support SteppingGranularity "block"

Đang mở
#356 0 bình luận 0 reaction 2 người được giao Xem trên GitHub

@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ả

feature-request

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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/debug-adapter-protocol

Tất cả issue của microsoft/debug-adapter-protocol

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.