debase 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/context.c +1 -1
- data/ext/debase_internals.c +1 -2
- data/lib/debase/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e77983a3d540de1c69aa61922cf0f21f95590b0b
|
4
|
+
data.tar.gz: c303699055b54148fadbdd8d665f54d00f9da647
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf02a4e0e01ce775481bce9e8c043c183471a2cf96adba5989a17855c7af9472b6fd4938bd30af346d9bbf21d4d036d20442a52a94b72742ad0352d6e1fec93a
|
7
|
+
data.tar.gz: 3df6a9a730ed9200dab40b1c0b63d0266117c10adcd9b8c17c51393e8921d43cc34e6b119fc900ddc2469cdde513a540e1738744055f5a102c70e6489a02147c
|
data/ext/context.c
CHANGED
@@ -338,7 +338,7 @@ Context_stop_frame(VALUE self, VALUE frame)
|
|
338
338
|
/* we decrease stack size by frame and 1 because we use stop_frame after
|
339
339
|
updating stack size. If that code will be changed this should be changed accordingly.
|
340
340
|
*/
|
341
|
-
debug_context->stop_frame = debug_context->
|
341
|
+
debug_context->stop_frame = debug_context->stack_size - FIX2INT(frame) - 1;
|
342
342
|
|
343
343
|
return frame;
|
344
344
|
}
|
data/ext/debase_internals.c
CHANGED
@@ -288,13 +288,12 @@ process_return_event(VALUE trace_point, void *data)
|
|
288
288
|
/* it is important to check stop_frame after stack size updated
|
289
289
|
if the order will be changed change Context_stop_frame accordingly.
|
290
290
|
*/
|
291
|
-
if(context->
|
291
|
+
if(context->stack_size == context->stop_frame)
|
292
292
|
{
|
293
293
|
context->stop_next = 1;
|
294
294
|
context->stop_frame = -1;
|
295
295
|
}
|
296
296
|
|
297
|
-
|
298
297
|
print_event(TRACE_POINT, context);
|
299
298
|
cleanup(context);
|
300
299
|
}
|
data/lib/debase/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: debase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dennis Ushakov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: debase-ruby_core_source
|