Skip to content

Commit 21e6da4

Browse files
committed
More debug output
1 parent 83d75a9 commit 21e6da4

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

lib/ruby-debug-ide/interface.rb

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,17 @@ class LocalInterface < Interface
2323

2424
class RemoteInterface < Interface # :nodoc:
2525
attr_accessor :command_queue
26-
attr_accessor :socket
26+
#attr_accessor :socket
2727

2828
def initialize(socket)
2929
@socket = socket
30+
class <<@socket
31+
alias close_without_logging close
32+
def close
33+
close_without_logging
34+
$stderr.puts "medvedko is " + ::Kernel.caller(1).join("\n")
35+
end
36+
end
3037
@command_queue = Queue.new
3138
end
3239

0 commit comments

Comments
 (0)