Skip to content

Commit a8f6237

Browse files
committed
option to disable 'to_s' tracing added
1 parent 02148f5 commit a8f6237

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

lib/ruby-debug-ide.rb

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,22 +29,22 @@ def print_debug(*args)
2929
end
3030

3131
def cleanup_backtrace(backtrace)
32-
cleared = []
33-
return cleared unless backtrace
34-
backtrace.each do |line|
35-
if line.index(File.expand_path(File.dirname(__FILE__) + "/..")) == 0
36-
next
37-
end
38-
if line.index("-e:1") == 0
39-
break
40-
end
41-
cleared << line
42-
end
43-
cleared
32+
cleared = []
33+
return cleared unless backtrace
34+
backtrace.each do |line|
35+
if line.index(File.expand_path(File.dirname(__FILE__) + "/..")) == 0
36+
next
37+
end
38+
if line.index("-e:1") == 0
39+
break
40+
end
41+
cleared << line
42+
end
43+
cleared
4444
end
4545

4646
attr_accessor :attached
47-
attr_accessor :cli_debug, :xml_debug, :evaluation_timeout
47+
attr_accessor :cli_debug, :xml_debug, :evaluation_timeout, :trace_to_s
4848
attr_accessor :control_thread
4949
attr_reader :interface
5050
# protocol extensions

0 commit comments

Comments
 (0)