debase 0.2.2.beta5 → 0.2.2.beta6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/debase_internals.c +5 -0
- data/ext/hacks.h +5 -5
- data/lib/debase/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f9d7d8e644e9b48bc612bb3a09de677ddac240c
|
4
|
+
data.tar.gz: 6f204ee27f38b0e7ed244ffb9afa46a764cc604a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49312d5996774def80efb51488d2b403369f58cdcb69bc3e20774b2e9d46fbb78f7e6cc3ec19537528ea4db963b32b9907bbd9d046501d268f531c49b296ed84
|
7
|
+
data.tar.gz: 6c1ed5f6b595aeb9c6d16b86c8bce768557b5b7d258607c837c9a636d52f1a0b9934fe5fc46704f12d314e57ca16e572051ca5d425c6ede50fd6d203b20b5541
|
data/ext/debase_internals.c
CHANGED
@@ -358,6 +358,11 @@ process_line_event(VALUE trace_point, void *data)
|
|
358
358
|
{
|
359
359
|
context->stop_next = 0;
|
360
360
|
}
|
361
|
+
if(context->calced_stack_size == context->stop_frame)
|
362
|
+
{
|
363
|
+
context->stop_next = 0;
|
364
|
+
context->stop_frame = -1;
|
365
|
+
}
|
361
366
|
|
362
367
|
breakpoint = breakpoint_find(breakpoints, path, lineno);
|
363
368
|
if (context->stop_next == 0 || context->stop_line == 0 || breakpoint != Qnil) {
|
data/ext/hacks.h
CHANGED
@@ -10,8 +10,8 @@ update_stack_size(debug_context_t *context)
|
|
10
10
|
thread = ruby_current_thread;
|
11
11
|
/* see backtrace_each in vm_backtrace.c */
|
12
12
|
context->stack_size = (int)(RUBY_VM_END_CONTROL_FRAME(thread) - thread->cfp - 1);
|
13
|
-
if (CTX_FL_TEST(context, CTX_FL_UPDATE_STACK)) {
|
14
|
-
|
15
|
-
|
16
|
-
}
|
17
|
-
}
|
13
|
+
// if (CTX_FL_TEST(context, CTX_FL_UPDATE_STACK)) {
|
14
|
+
context->calced_stack_size = context->stack_size;
|
15
|
+
// CTX_FL_UNSET(context, CTX_FL_UPDATE_STACK);
|
16
|
+
// }
|
17
|
+
}
|
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.2.2.
|
4
|
+
version: 0.2.2.beta6
|
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-
|
11
|
+
date: 2015-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: debase-ruby_core_source
|
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
130
|
version: 1.3.1
|
131
131
|
requirements: []
|
132
132
|
rubyforge_project: debase
|
133
|
-
rubygems_version: 2.
|
133
|
+
rubygems_version: 2.5.0
|
134
134
|
signing_key:
|
135
135
|
specification_version: 4
|
136
136
|
summary: debase is a fast implementation of the standard Ruby debugger debug.rb for
|