diff options
author | James Reid-Smith <[email protected]> | 2024-12-12 12:26:03 -0500 |
---|---|---|
committer | git <[email protected]> | 2024-12-12 17:26:06 +0000 |
commit | c0caf1cc1aaa3ba2e9d09977ee2a51e35114c70f (patch) | |
tree | 3a654072aaec44c3766b58d48fa5d3b3632523a9 /error.c | |
parent | 300be2b192a16c064d4e1c9203feda8df6a391fc (diff) |
[ruby/irb] Load history when starting a direct debug session
(https://github.com/ruby/irb/pull/1046)
* Load history when starting a direct debug session
When starting a debug session directly with RUBY_DEBUG_IRB_CONSOLE=1 and
`require 'debug'; debugger`, IRB's history wasn't loaded. This commit ensures
history is loaded in this case by calling `load_history` when configuring IRB
for the debugger.
Fixes ruby/irb#975
* Update test/irb/test_history.rb
* Update lib/irb/debug.rb
---------
https://github.com/ruby/irb/commit/7f851b5353
Co-authored-by: Stan Lo <[email protected]>
Diffstat (limited to 'error.c')
0 files changed, 0 insertions, 0 deletions