Skip to content

Commit 0e9dd25

Browse files
committed
fixed debug output
1 parent 175f2ef commit 0e9dd25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ruby-debug/processor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,10 @@ def process_commands
9191

9292
while input = @interface.read_command
9393
# escape % since print_debug might use printf
94-
@printer.print_debug "Processing in control: #{input.gsub('%', '%%')}"
9594
# sleep 0.3
9695
catch(:debug_error) do
9796
if cmd = ctrl_cmds.find{|c| c.match(input) }
97+
@printer.print_debug "Processing in control: #{input.gsub('%', '%%')}"
9898
cmd.execute
9999
else
100100
@interface.command_queue << input

0 commit comments

Comments
 (0)