summaryrefslogtreecommitdiff
path: root/tool/runruby.rb
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2023-11-29 10:54:27 -0500
committerPeter Zhu <[email protected]>2023-11-29 17:54:58 -0500
commit128837e4a28bda89c6a6766b3f243b5a47910d9c ()
tree286229a2d64ce9c2986f3fbd85cce1afe1c2bad4 /tool/runruby.rb
parentaee275165b35c75f7ba889752273844616a9c8f5 (diff)
Support RUNRUBY_USE_RR for rr debugger
-rwxr-xr-xtool/runruby.rb4
1 files changed, 4 insertions, 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_YJIT_STATS']
use_yjit_stat = true
end
@@ -156,6 +158,8 @@ if debugger
debugger.push('-s', lldb)
end
debugger << '--'
end
if idx = precommand.index(:debugger)