debase 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 804974bdb7f42d640f15e77579d6bd3efccc8ebc
4
- data.tar.gz: 7bf3e160c4c602873c271e791a279c2211e09b65
2
+ SHA256:
3
+ metadata.gz: 1a53e6b86e56f57d21d91907d79bd117a55131fceb5eb5ae7e263b9fdbb4b2ab
4
+ data.tar.gz: 9cc31bcb8a81cd41b74af0c9479767f61a6b95b24a1dd6a0f876f7be4c25d008
5
5
  SHA512:
6
- metadata.gz: a70e957bfe8a777a8a3c62f25aca86012cd831589f0c265428c1d81122d811774b0dabc5748a6a7f812cbac0f9d0df863793e13de2c8b4977d3ab9f7dc1e840d
7
- data.tar.gz: 0aaa866f084dd6634eee79ae37b7fdb556a636faf5ca0d39982e35e02e7c5eeb185c824d7f12c69a738da52f4b13229cde057957d275b9a800c170a70021d905
6
+ metadata.gz: bd7ca6c0415ec28cc249877f951d57de3d6bebfd47488c89e2747d7c3d63e88bcd8cc45bdaf67f78c81a03d75339898811dc588d715c9eaf704e3e94818842e7
7
+ data.tar.gz: 81a02f4068082f139cfaafa0d2825fc88f1ef56be0531e4da831ef8ae2d18c0f23736de09efdb685dcbf7297e0cfabce8a6437a07f5ac10f8c601abd86cf6eb2
@@ -333,13 +333,6 @@ process_line_event(VALUE trace_point, void *data)
333
333
  tp = TRACE_POINT;
334
334
  path = rb_tracearg_path(tp);
335
335
 
336
- if(context->stack_size <= context->init_stack_size && context->hit_user_code) {
337
- context->script_finished = 1;
338
- }
339
- if(context->script_finished) {
340
- return;
341
- }
342
-
343
336
  if (is_path_accepted(path)) {
344
337
 
345
338
  lineno = rb_tracearg_lineno(tp);
@@ -388,13 +381,18 @@ process_line_event(VALUE trace_point, void *data)
388
381
  breakpoint = breakpoint_find(breakpoints, path, lineno, trace_point);
389
382
  if (context->stop_next == 0 || context->stop_line == 0 || breakpoint != Qnil) {
390
383
  rb_ensure(start_inspector, context_object, stop_inspector, Qnil);
391
- context->stop_reason = CTX_STOP_STEP;
392
- if (breakpoint != Qnil) {
393
- context->stop_reason = CTX_STOP_BREAKPOINT;
394
- rb_funcall(context_object, idAtBreakpoint, 1, breakpoint);
384
+ if(context->stack_size <= context->init_stack_size && context->hit_user_code) {
385
+ context->script_finished = 1;
386
+ }
387
+ if(!context->script_finished) {
388
+ context->stop_reason = CTX_STOP_STEP;
389
+ if (breakpoint != Qnil) {
390
+ context->stop_reason = CTX_STOP_BREAKPOINT;
391
+ rb_funcall(context_object, idAtBreakpoint, 1, breakpoint);
392
+ }
393
+ reset_stepping_stop_points(context);
394
+ call_at_line(context, file, line, context_object);
395
395
  }
396
- reset_stepping_stop_points(context);
397
- call_at_line(context, file, line, context_object);
398
396
  }
399
397
  }
400
398
  cleanup(context);
@@ -1,3 +1,3 @@
1
1
  module Debase
2
- VERSION = "0.2.3" unless defined? VERSION
2
+ VERSION = "0.2.4" 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.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dennis Ushakov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-07-04 00:00:00.000000000 Z
11
+ date: 2019-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: debase-ruby_core_source
@@ -136,8 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  - !ruby/object:Gem::Version
137
137
  version: '0'
138
138
  requirements: []
139
- rubyforge_project: debase
140
- rubygems_version: 2.6.10
139
+ rubygems_version: 3.0.3
141
140
  signing_key:
142
141
  specification_version: 4
143
142
  summary: debase is a fast implementation of the standard Ruby debugger debug.rb for