debase 0.2.2.beta5 → 0.2.2.beta6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 10403e90bb84614ba8657c7b36a5eea2b88f5fdd
4
- data.tar.gz: 59df9c8e5861bd3ddeda7c800c78e7d4ec89978f
3
+ metadata.gz: 3f9d7d8e644e9b48bc612bb3a09de677ddac240c
4
+ data.tar.gz: 6f204ee27f38b0e7ed244ffb9afa46a764cc604a
5
5
  SHA512:
6
- metadata.gz: b80a95d4ca6863a7bf251467c33f8cc2840b33fc4992c8f5885fcf382a964ab192a21577a454a905d8374fde5400b5d7b9b404267cbf70aad52c1ca81f2ac890
7
- data.tar.gz: 13eecf6baa3739a23a9e32dfcc0587cef1e22e5eafe3810770daac896be333f6e297c4b2f55740063569b5bb3beda4865d2634abf4a5313cba4ec53ed7a1a2ab
6
+ metadata.gz: 49312d5996774def80efb51488d2b403369f58cdcb69bc3e20774b2e9d46fbb78f7e6cc3ec19537528ea4db963b32b9907bbd9d046501d268f531c49b296ed84
7
+ data.tar.gz: 6c1ed5f6b595aeb9c6d16b86c8bce768557b5b7d258607c837c9a636d52f1a0b9934fe5fc46704f12d314e57ca16e572051ca5d425c6ede50fd6d203b20b5541
@@ -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) {
@@ -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
- context->calced_stack_size = context->stack_size;
15
- CTX_FL_UNSET(context, CTX_FL_UPDATE_STACK);
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
+ }
@@ -1,3 +1,3 @@
1
1
  module Debase
2
- VERSION = "0.2.2.beta5" unless defined? VERSION
2
+ VERSION = "0.2.2.beta6" unless defined? VERSION
3
3
  end
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.beta5
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-09-24 00:00:00.000000000 Z
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.4.5.1
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