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

Debug freezes after a few keystrokes

Đang mở
#934 8 bình luận 12 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
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
ruby
Lĩnh vực
devtools

Hướng nghiên cứu

Start by reproducing the freeze in the rdbg console with Ruby 3.1.1 and rdbg 1.7.1, using the Rails 7.0.4.3 context described in the report. Compare the same interaction with binding.pry and investigate the console input path. Done means repeated keystrokes no longer freeze the terminal and normal interruption remains possible.

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

Mô tả

Your environment

  • ruby -v: ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [arm64-darwin21]
  • rdbg -v: rdbg 1.7.1

Describe the bug
Debugger is freezing after typing a few keystrokes at random; almost reliably freezing with 3+ keystrokes. Any new key pressed just echoes in the screen the key pressed, but nothing happens.

image

It freezes the terminal window so bad that not even CTRL C can escape it:

image

To Reproduce

Just install a debugger anywhere in the code and start typing on the console.

Expected behavior
I expected it not to freeze.

If I use binding.pry instead, everything works just fine.

Additional context
Rails application (7.0.4.3)

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.