|
From: <caw...@us...> - 2007-06-19 12:59:04
|
Revision: 2626
http://svn.sourceforge.net/rubyeclipse/?rev=2626&view=rev
Author: cawilliams
Date: 2007-06-19 05:58:57 -0700 (Tue, 19 Jun 2007)
Log Message:
-----------
apply patch from martin for classic debugger (don't send binary data over the wire):
http://www.netbeans.org/nonav/issues/show_bug.cgi?id=101748
Modified Paths:
--------------
trunk/org.rubypeople.rdt.launching/ruby/classic-debug.rb
Modified: trunk/org.rubypeople.rdt.launching/ruby/classic-debug.rb
===================================================================
--- trunk/org.rubypeople.rdt.launching/ruby/classic-debug.rb 2007-06-19 02:26:36 UTC (rev 2625)
+++ trunk/org.rubypeople.rdt.launching/ruby/classic-debug.rb 2007-06-19 12:58:57 UTC (rev 2626)
@@ -76,6 +76,7 @@
valueString.slice!(1..(valueString.length)-2)
end
end
+ valueString = "[Binary Data]" if valueString.is_binary_data?
out("<variable name=\"%s\" kind=\"%s\" value=\"%s\" type=\"%s\" hasChildren=\"%s\" objectId=\"%#+x\"/>", CGI.escapeHTML(name), kind, CGI.escapeHTML(valueString), value.class(), hasChildren, value.respond_to?(:object_id) ? value.object_id : value.id)
end
@@ -1101,7 +1102,7 @@
sleep(1.0) # workaround for large files with ruby 1.6.8, otherwise parse exceptions
loop do
sleep(0.1)
- newData, x, y = IO.select( [socket], nil, nil, 0.001 )
+ newData, _, _ = IO.select( [socket], nil, nil, 0.001 )
next unless newData
DEBUGGER__.traceOff()
input = newData[0].gets.chomp!
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|