`list -` doesn't work with IRB console
還沒有人認領這個 Issue。
評估
研究方向
Reproduce the issue by entering binding.break, then running list and list - in both the default debugger console and IRB. Compare how the command is parsed; done means predecessor-line listing works in IRB, either with list - or a documented alias.
由索引模型根據 Issue 內容生成。
描述
Your environment
ruby -v:ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]rdbg -v:rdbg 1.9.2
Describe the bug
Here is the list - command to see predecessor lines (useful after regular list usage).
It works in a default console, but not in IRB: it considers - as an operator, I suppose.
To Reproduce
binding.breakin a code.listin IRB console.list -in IRB console.
Expected behavior
Working list - command (or an alias).
Additional context
irb:rdbg(#<RSpec::ExampleGroups::UIClu...):004* l -
irb:rdbg(#<RSpec::ExampleGroups::UIClu...):005* l - # debug command
^C
- 主要語言
- Ruby
- 星號
- 1.3k
- 分支
- 146
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 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
-
難度 2/5 1-3 小時 新手友好度 82/100
-
security
難度 2/5 1-3 小時 新手友好度 65/100
IBM/ai-security-baseline#25 ·
-
security
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
Mend: dependency security vulnerability
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
Mend: dependency security vulnerability
難度 2/5 1-3 小時 新手友好度 62/100