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 +5 -5
- data/ext/debase_internals.c +11 -13
- data/lib/debase/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1a53e6b86e56f57d21d91907d79bd117a55131fceb5eb5ae7e263b9fdbb4b2ab
|
4
|
+
data.tar.gz: 9cc31bcb8a81cd41b74af0c9479767f61a6b95b24a1dd6a0f876f7be4c25d008
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd7ca6c0415ec28cc249877f951d57de3d6bebfd47488c89e2747d7c3d63e88bcd8cc45bdaf67f78c81a03d75339898811dc588d715c9eaf704e3e94818842e7
|
7
|
+
data.tar.gz: 81a02f4068082f139cfaafa0d2825fc88f1ef56be0531e4da831ef8ae2d18c0f23736de09efdb685dcbf7297e0cfabce8a6437a07f5ac10f8c601abd86cf6eb2
|
data/ext/debase_internals.c
CHANGED
@@ -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->
|
392
|
-
|
393
|
-
|
394
|
-
|
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);
|
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.
|
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
|
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
|
-
|
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
|