Skip to content

Commit 83d75a9

Browse files
committed
More debug output
1 parent 84f79c4 commit 83d75a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/ruby-debug-ide/ide_processor.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,11 @@ def process_commands
9494
end
9595
end
9696
rescue IOError, Errno::EPIPE
97+
@printer.print_debug "INTERNAL ERROR!!! #{$!}\n"
9798
@printer.print_error "INTERNAL ERROR!!! #{$!}\n" rescue nil
9899
@printer.print_error $!.backtrace.map{|l| "\t#{l}"}.join("\n") rescue nil
99100
rescue Exception
101+
@printer.print_debug "INTERNAL ERROR!!! #{$!}\n" rescue nil
100102
@printer.print_error "INTERNAL ERROR!!! #{$!}\n" rescue nil
101103
@printer.print_error $!.backtrace.map{|l| "\t#{l}"}.join("\n") rescue nil
102104
ensure

0 commit comments

Comments
 (0)