aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rwxr-xr-xtool/runruby.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/tool/runruby.rb b/tool/runruby.rb
index 4cd97ce99c..ec63d1008a 100755
--- a/tool/runruby.rb
+++ b/tool/runruby.rb
@@ -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)