diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/debug.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/debug.rb b/lib/debug.rb index b15f4d4b59..abb068f2c0 100644 --- a/lib/debug.rb +++ b/lib/debug.rb @@ -272,6 +272,7 @@ class Context while prompt and input = readline("(rdb:%d) "%thnum(), true) catch(:debug_error) do if input == "" + next unless DEBUG_LAST_CMD[0] input = DEBUG_LAST_CMD[0] stdout.print input, "\n" else |