mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Support RUNRUBY_USE_RR for rr debugger
This commit is contained in:
parent
aee275165b
commit
128837e4a2
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,8 @@ when ENV['RUNRUBY_USE_GDB'] == 'true'
|
|||
debugger = :gdb
|
||||
when ENV['RUNRUBY_USE_LLDB'] == 'true'
|
||||
debugger = :lldb
|
||||
when ENV['RUNRUBY_USE_RR'] == 'true'
|
||||
debugger = :rr
|
||||
when ENV['RUNRUBY_YJIT_STATS']
|
||||
use_yjit_stat = true
|
||||
end
|
||||
|
@ -156,6 +158,8 @@ if debugger
|
|||
debugger.push('-s', lldb)
|
||||
end
|
||||
debugger << '--'
|
||||
when :rr
|
||||
debugger = ['rr', 'record']
|
||||
end
|
||||
|
||||
if idx = precommand.index(:debugger)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue