readapt 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/ext/readapt/monitor.c +8 -8
- data/lib/readapt/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 576bfe9759ad1652ed7e1f9be3275e7edf0a6e18bc168f35a97b4b30a0a9728b
|
4
|
+
data.tar.gz: 77c1174abc7c9c3af32f383ad08eaa530580386c2c1bc9547d1021839ff52e6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1f25315559f32d7d5e1e4577abdbefca704bfd3e40678bb830ec7ad9e01ec6bb5e10cb0056a68d2e05434651d72331d5347f8096c5bc7bbd4122a6dbdae2e99
|
7
|
+
data.tar.gz: 0a8bb70abe9d5e9b8b856a2d42c27dc29e17b0e7242a20fcda56ba2977803eceb7b7e1ba69b5d8e14d91ccdc0dd4671d67021d0a05df59cc392f7344592b9d9c
|
data/CHANGELOG.md
CHANGED
data/ext/readapt/monitor.c
CHANGED
@@ -103,7 +103,7 @@ process_line_event(VALUE tracepoint, void *data)
|
|
103
103
|
ID dapEvent, result;
|
104
104
|
|
105
105
|
ref = thread_current_reference();
|
106
|
-
if (
|
106
|
+
if (ref != Qnil)
|
107
107
|
{
|
108
108
|
ptr = thread_reference_pointer(ref);
|
109
109
|
if (ptr->depth > 0 /*|| !firstLineEvent*/)
|
@@ -163,7 +163,7 @@ process_call_event(VALUE tracepoint, void *data)
|
|
163
163
|
thread_reference_t *ptr;
|
164
164
|
|
165
165
|
ref = thread_current_reference();
|
166
|
-
if (
|
166
|
+
if (ref != Qnil)
|
167
167
|
{
|
168
168
|
ptr = thread_reference_pointer(ref);
|
169
169
|
ptr->depth++;
|
@@ -177,7 +177,7 @@ process_return_event(VALUE tracepoint, void *data)
|
|
177
177
|
thread_reference_t *ptr;
|
178
178
|
|
179
179
|
ref = thread_current_reference();
|
180
|
-
if (
|
180
|
+
if (ref != Qnil)
|
181
181
|
{
|
182
182
|
ptr = thread_reference_pointer(ref);
|
183
183
|
ptr->depth--;
|
@@ -192,14 +192,14 @@ process_thread_begin_event(VALUE tracepoint, void *data)
|
|
192
192
|
|
193
193
|
list = rb_funcall(rb_cThread, rb_intern("list"), 0);
|
194
194
|
here = rb_ary_pop(list);
|
195
|
-
if (
|
195
|
+
if (here != Qnil)
|
196
196
|
{
|
197
197
|
prev = rb_ary_pop(list);
|
198
198
|
{
|
199
|
-
if (
|
199
|
+
if (prev != Qnil)
|
200
200
|
{
|
201
201
|
ref = thread_reference(prev);
|
202
|
-
if (
|
202
|
+
if (ref != Qnil)
|
203
203
|
{
|
204
204
|
ref = thread_add_reference(here);
|
205
205
|
ptr = thread_reference_pointer(ref);
|
@@ -224,7 +224,7 @@ process_thread_end_event(VALUE tracepoint, void *data)
|
|
224
224
|
|
225
225
|
thr = rb_thread_current();
|
226
226
|
ref = thread_reference(thr);
|
227
|
-
if (
|
227
|
+
if (ref != Qnil)
|
228
228
|
{
|
229
229
|
ptr = thread_reference_pointer(ref);
|
230
230
|
monitor_debug(ptr->prev_file, ptr->prev_line, tracepoint, ptr, rb_intern("thread_end"));
|
@@ -288,7 +288,7 @@ monitor_pause_s(VALUE self, VALUE id)
|
|
288
288
|
thread_reference_t *ptr;
|
289
289
|
|
290
290
|
ref = thread_reference_id(id);
|
291
|
-
if (
|
291
|
+
if (ref != Qnil)
|
292
292
|
{
|
293
293
|
ptr = thread_reference_pointer(ref);
|
294
294
|
ptr->control = rb_intern("pause");
|
data/lib/readapt/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: readapt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fred Snyder
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: backport
|