trace_tree 0.2.20 → 0.2.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/trace_tree/version.rb +1 -1
- data/lib/trace_tree.rb +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0be4af3563495464f3f18a8f3071777eaff9d29fbd90c99e79338dcd6ed97818
|
4
|
+
data.tar.gz: 82691f1633c340f8fcdc602564367db4d63769fa1d9a076d3a1ecba8f65d57dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67e6c97a69c109f44ae2f5527628caabb02e1c1aaff1ae05160b836f360b98432fc68d37a992664497c0089dcd7b02af2a9eb3999f27acf57134239129fd01fe
|
7
|
+
data.tar.gz: e24c3bab4d4a09883a450d91b0a3f8f10f517a9da35acb37b66f51e5435902fe4e6970cf4cc97c03c4e06d580fe262e96a7464339bbee99ae4669825b163812c
|
data/lib/trace_tree/version.rb
CHANGED
data/lib/trace_tree.rb
CHANGED
@@ -164,11 +164,12 @@ class TraceTree
|
|
164
164
|
if @no_methods.any?{ |pattern| pattern =~ point.method_id }
|
165
165
|
if !empty && point.terminate?(stack.last)
|
166
166
|
stack.pop
|
167
|
+
return stack.empty?
|
167
168
|
else
|
168
169
|
stack << point
|
169
170
|
point << Point::Omitted.new
|
171
|
+
return empty
|
170
172
|
end
|
171
|
-
return true
|
172
173
|
end
|
173
174
|
|
174
175
|
empty
|
@@ -204,6 +205,8 @@ class TraceTree
|
|
204
205
|
point.thread_begin = began_threads[thread]
|
205
206
|
end
|
206
207
|
|
208
|
+
stacks.keys.each{ |thread| thread[:trace_tree_no_methods_stack] = nil }
|
209
|
+
|
207
210
|
#binding.pry
|
208
211
|
|
209
212
|
stacks[trace_points.first.thread][0].
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trace_tree
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ken
|
@@ -191,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
191
191
|
version: '0'
|
192
192
|
requirements: []
|
193
193
|
rubyforge_project:
|
194
|
-
rubygems_version: 2.
|
194
|
+
rubygems_version: 2.7.6
|
195
195
|
signing_key:
|
196
196
|
specification_version: 4
|
197
197
|
summary: Print TracePoint(:b_call, :b_return, :c_call, :c_return, :call, :return,
|