ruby-debug-base19x 0.11.30.pre14 → 0.11.30.pre15
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/ruby_debug/ruby_debug.c +30 -2
- metadata +24 -13
- checksums.yaml +0 -7
data/ext/ruby_debug/ruby_debug.c
CHANGED
@@ -9,7 +9,7 @@
|
|
9
9
|
#include <insns_info.inc>
|
10
10
|
#include "ruby_debug.h"
|
11
11
|
|
12
|
-
#define DEBUG_VERSION "0.11.30.
|
12
|
+
#define DEBUG_VERSION "0.11.30.pre15"
|
13
13
|
|
14
14
|
#define FRAME_N(n) (&debug_context->frames[debug_context->stack_size-(n)-1])
|
15
15
|
#define GET_FRAME (FRAME_N(check_frame_number(debug_context, frame)))
|
@@ -675,6 +675,34 @@ c_call_new_frame_p(VALUE klass, ID mid)
|
|
675
675
|
return 0;
|
676
676
|
}
|
677
677
|
|
678
|
+
static int
|
679
|
+
remove_pause_flag_i(st_data_t key, st_data_t value, st_data_t dummy)
|
680
|
+
{
|
681
|
+
VALUE context;
|
682
|
+
debug_context_t *debug_context;
|
683
|
+
|
684
|
+
context = (VALUE)value;
|
685
|
+
if (!context)
|
686
|
+
{
|
687
|
+
return ST_CONTINUE;
|
688
|
+
}
|
689
|
+
|
690
|
+
Data_Get_Struct((VALUE)value, debug_context_t, debug_context);
|
691
|
+
debug_context->thread_pause = 0;
|
692
|
+
|
693
|
+
return ST_CONTINUE;
|
694
|
+
}
|
695
|
+
|
696
|
+
static void
|
697
|
+
remove_pause_flag(void)
|
698
|
+
{
|
699
|
+
threads_table_t *threads_table;
|
700
|
+
|
701
|
+
Data_Get_Struct(rdebug_threads_tbl, threads_table_t, threads_table);
|
702
|
+
st_foreach(threads_table->tbl, remove_pause_flag_i, 0);
|
703
|
+
}
|
704
|
+
|
705
|
+
|
678
706
|
static void
|
679
707
|
call_at_line_check(VALUE self, debug_context_t *debug_context, VALUE breakpoint, VALUE context, char *file, int line)
|
680
708
|
{
|
@@ -700,6 +728,7 @@ call_at_line_check(VALUE self, debug_context_t *debug_context, VALUE breakpoint,
|
|
700
728
|
}
|
701
729
|
|
702
730
|
reset_stepping_stop_points(debug_context);
|
731
|
+
remove_pause_flag();
|
703
732
|
call_at_line(context, debug_context, rb_str_new2(file), INT2FIX(line));
|
704
733
|
}
|
705
734
|
|
@@ -837,7 +866,6 @@ debug_event_hook(rb_event_flag_t event, VALUE data, VALUE self, ID mid, VALUE kl
|
|
837
866
|
|
838
867
|
if (debug_context->thread_pause)
|
839
868
|
{
|
840
|
-
debug_context->thread_pause = 0;
|
841
869
|
debug_context->stop_next = 1;
|
842
870
|
debug_context->dest_frame = -1;
|
843
871
|
moved = 1;
|
metadata
CHANGED
@@ -1,48 +1,58 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-debug-base19x
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.30.
|
4
|
+
version: 0.11.30.pre15
|
5
|
+
prerelease: 8
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Kent Sibilev, Mark Moseley
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-
|
12
|
+
date: 2013-09-19 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: debugger-ruby_core_source
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
|
-
- - '>'
|
19
|
+
- - ! '>'
|
18
20
|
- !ruby/object:Gem::Version
|
19
21
|
version: '0'
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
|
-
- - '>'
|
27
|
+
- - ! '>'
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '0'
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: rake
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
|
-
- - '>='
|
35
|
+
- - ! '>='
|
32
36
|
- !ruby/object:Gem::Version
|
33
37
|
version: 0.8.1
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
|
-
- - '>='
|
43
|
+
- - ! '>='
|
39
44
|
- !ruby/object:Gem::Version
|
40
45
|
version: 0.8.1
|
41
|
-
description:
|
42
|
-
|
46
|
+
description: ! 'ruby-debug is a fast implementation of the standard Ruby debugger
|
47
|
+
debug.rb.
|
48
|
+
|
43
49
|
It is implemented by utilizing a new Ruby C API hook. The core component
|
50
|
+
|
44
51
|
provides support that front-ends can build on. It provides breakpoint
|
52
|
+
|
45
53
|
handling, bindings for stack frames among other things.
|
54
|
+
|
55
|
+
'
|
46
56
|
email: ksibilev@yahoo.com
|
47
57
|
executables: []
|
48
58
|
extensions:
|
@@ -64,25 +74,26 @@ files:
|
|
64
74
|
- lib/ruby-debug-base.rb
|
65
75
|
homepage: https://github.com/JetBrains/ruby-debug-base19
|
66
76
|
licenses: []
|
67
|
-
metadata: {}
|
68
77
|
post_install_message:
|
69
78
|
rdoc_options: []
|
70
79
|
require_paths:
|
71
80
|
- lib
|
72
81
|
required_ruby_version: !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
73
83
|
requirements:
|
74
|
-
- - '>='
|
84
|
+
- - ! '>='
|
75
85
|
- !ruby/object:Gem::Version
|
76
86
|
version: '1.9'
|
77
87
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
|
+
none: false
|
78
89
|
requirements:
|
79
|
-
- - '>'
|
90
|
+
- - ! '>'
|
80
91
|
- !ruby/object:Gem::Version
|
81
92
|
version: 1.3.1
|
82
93
|
requirements: []
|
83
94
|
rubyforge_project: ruby-debug19
|
84
|
-
rubygems_version:
|
95
|
+
rubygems_version: 1.8.25
|
85
96
|
signing_key:
|
86
|
-
specification_version:
|
97
|
+
specification_version: 3
|
87
98
|
summary: Fast Ruby debugger - core component
|
88
99
|
test_files: []
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: 909d9e2e0fdb031a75fe996e998addd7fd911eca
|
4
|
-
data.tar.gz: f4f156c7323781ee0dafd2a90145a2345d85d804
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: a508a584a9d4d213fa8eb31c3b257f5b1dca0eff8580bfb70bc1b6b8df552049396ae88ffc46fc926089cf49c267d3416060e5d0304974ca60e507de1fd21dce
|
7
|
-
data.tar.gz: c85c70a3348f4f780bb01b02f2959ad51fca345f3b89681a9b65857a89d09dc18f1a8e34a9c1101af1e665b539f12c30d926054aee77405c40ee3971234e5e06
|