History not available
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Start by reproducing the session in a Rails console with debug 1.9.1: run a command, check history, restart, and press the up arrow. Compare this behavior with pry-byebug and trace the debug console's history handling; done means commands persist across console restarts and the history command reports them.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
ruby -v: ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [arm64-darwin21]gem list debug: debug (1.9.1)gem list rails: rails (7.1.2)gem list irb: irb (default: 1.11.0)
Describe the bug
Command history is forgotten after restarting rails console
To Reproduce
- open rails console
- issue anything (eg:
1+1) - issue
history, you must see the two commands - exit rails console
- open rails console again
- press up arrow (it should bring back last executed command), but none is returned
- issue
history, history is empty
ps: it works as expected when I have pry-byebug (3.10.1) instead of debug (1.9.1) on the application Gemfile
Expected behavior
When pressing up arrow, I should see the last executed command, as it happens with pry-byebug.
- 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
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 ruby/debug
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
-
Support exceptionOptions in setExceptionBreakpoints to catch arbitrary exception classes via DAP Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
Issue tương tự
-
SyncEm always forwards a dummy block, so wrapped methods lose their no-block/Enumerator behavior Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
bug P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
dependabot
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
githubnext/gh-aw-cao#13349 ·
-
user-reported
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Kong/developer.konghq.com#7316 ·