We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a9fd5e commit ec8d1b7Copy full SHA for ec8d1b7
lib/ruby-debug-ide.rb
@@ -31,7 +31,10 @@ def cleanup_backtrace(backtrace)
31
cleared = []
32
return cleared unless backtrace
33
backtrace.each do |line|
34
- if line.index(File.expand_path(File.dirname(__FILE__))) == 0
+ if line.index(File.expand_path(File.dirname(__FILE__) + "/..")) == 0
35
+ next
36
+ end
37
+ if line.index("-e:1") == 0
38
break
39
end
40
cleared << line
0 commit comments