History not available
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Ruby
- スター
- 1.3k
- フォーク
- 146
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ruby/debug のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
-
Support exceptionOptions in setExceptionBreakpoints to catch arbitrary exception classes via DAP オープン
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
似ている issue
-
SyncEm always forwards a dummy block, so wrapped methods lose their no-block/Enumerator behavior オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
endoflife-date/endoflife.date#11086 ·
-
internal
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
Kong/developer.konghq.com#7322 ·
-
bug P2
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100