Skip to content

Commit fa117ee

Browse files
committed
More debug output
1 parent 705c66f commit fa117ee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/ruby-debug-ide/attach/native_debugger.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ def get_response
6060
content = ''
6161
loop do
6262
line = @pipe.readline
63-
break if check_delimiter(line)
6463
DebugPrinter.print_debug('respond line: ' + line)
64+
break if check_delimiter(line)
6565
next if line =~ /\(lldb\)/ # lldb repeats your input to its output
6666
content += line
6767
end
@@ -98,6 +98,7 @@ def continue
9898
@pipe.puts 'c'
9999
loop do
100100
line = @pipe.readline
101+
DebugPrinter.print_debug('respond line: ' + line)
101102
break if line =~ /#{Regexp.escape(@tbreak)}/
102103
end
103104
get_response

0 commit comments

Comments
 (0)