`next` command just before `debugger do:` method

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

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
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
ruby
Lĩnh vực
devtools

Hướng nghiên cứu

Reproduce the issue with the provided Ruby snippet and the next command, then inspect how debugger do: enters a new subsession and cancels stepping. Compare the behavior with until and fin. Done means next from line 1 stops at line 2 instead of continuing past it.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug

(same as until and fin)

debugger do: 'p 1'
p 1

Stopping at the line 1, type next and it doesn't stop at the line 2.

This is because debugger do: method entering the new subsession and it cancels next command stepping feature, and continue just after p 1 debug command.

It is clearly a bug but now I have no good solution, so I left this ticket.

Ngôn ngữ chính
Ruby
Star
1.3k
Fork
146
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

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 ruby/debug

Tất cả issue của ruby/debug

Issue tương tự

Thêm issue về Ruby

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.