ruby-debug-base19x 0.11.27 → 0.11.28
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +8 -0
- data/ext/ruby_debug/ruby_debug.c +5 -1
- metadata +82 -47
data/Rakefile
CHANGED
@@ -128,3 +128,11 @@ task :clean do
|
|
128
128
|
end
|
129
129
|
end
|
130
130
|
|
131
|
+
desc "Test ruby-debug-base."
|
132
|
+
task :test_base => :lib do
|
133
|
+
Rake::TestTask.new(:test_base) do |t|
|
134
|
+
t.libs += ['./ext', './lib']
|
135
|
+
t.test_files = FileList[BASE_TEST_FILE_LIST]
|
136
|
+
t.verbose = true
|
137
|
+
end
|
138
|
+
end
|
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.
|
12
|
+
#define DEBUG_VERSION "0.11.28"
|
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)))
|
@@ -20,6 +20,10 @@
|
|
20
20
|
|
21
21
|
#define STACK_SIZE_INCREMENT 128
|
22
22
|
|
23
|
+
#ifndef METHOD_H
|
24
|
+
#define RUBY_VERSION_1_9_1
|
25
|
+
#endif
|
26
|
+
|
23
27
|
RUBY_EXTERN int rb_vm_get_sourceline(const rb_control_frame_t *cfp); /* from vm.c */
|
24
28
|
RUBY_EXTERN VALUE rb_iseq_compile_with_option(VALUE src, VALUE file, VALUE line, VALUE opt); /* from iseq.c */
|
25
29
|
|
metadata
CHANGED
@@ -1,62 +1,86 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-debug-base19x
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 11
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 11
|
9
|
+
- 28
|
10
|
+
version: 0.11.28
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- Kent Sibilev, Mark Moseley
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
17
|
+
|
18
|
+
date: 2011-04-27 00:00:00 +04:00
|
13
19
|
default_executable:
|
14
|
-
dependencies:
|
15
|
-
- !ruby/object:Gem::Dependency
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
16
22
|
name: columnize
|
17
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
18
25
|
none: false
|
19
|
-
requirements:
|
20
|
-
- -
|
21
|
-
- !ruby/object:Gem::Version
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 17
|
30
|
+
segments:
|
31
|
+
- 0
|
32
|
+
- 3
|
33
|
+
- 1
|
22
34
|
version: 0.3.1
|
23
35
|
type: :runtime
|
24
|
-
|
25
|
-
|
26
|
-
- !ruby/object:Gem::Dependency
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
27
38
|
name: ruby_core_source
|
28
|
-
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
29
41
|
none: false
|
30
|
-
requirements:
|
31
|
-
- -
|
32
|
-
- !ruby/object:Gem::Version
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 19
|
46
|
+
segments:
|
47
|
+
- 0
|
48
|
+
- 1
|
49
|
+
- 4
|
33
50
|
version: 0.1.4
|
34
51
|
type: :runtime
|
35
|
-
|
36
|
-
|
37
|
-
- !ruby/object:Gem::Dependency
|
52
|
+
version_requirements: *id002
|
53
|
+
- !ruby/object:Gem::Dependency
|
38
54
|
name: linecache19
|
39
|
-
|
55
|
+
prerelease: false
|
56
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
40
57
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
hash: 29
|
62
|
+
segments:
|
63
|
+
- 0
|
64
|
+
- 5
|
65
|
+
- 11
|
44
66
|
version: 0.5.11
|
45
67
|
type: :runtime
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
bindings for stack frames among other things
|
68
|
+
version_requirements: *id003
|
69
|
+
description: |
|
70
|
+
ruby-debug is a fast implementation of the standard Ruby debugger debug.rb.
|
71
|
+
It is implemented by utilizing a new Ruby C API hook. The core component
|
72
|
+
provides support that front-ends can build on. It provides breakpoint
|
73
|
+
handling, bindings for stack frames among other things.
|
74
|
+
|
52
75
|
email: ksibilev@yahoo.com
|
53
76
|
executables: []
|
54
|
-
|
77
|
+
|
78
|
+
extensions:
|
55
79
|
- ext/ruby_debug/extconf.rb
|
56
|
-
extra_rdoc_files:
|
80
|
+
extra_rdoc_files:
|
57
81
|
- README
|
58
82
|
- ext/ruby_debug/ruby_debug.c
|
59
|
-
files:
|
83
|
+
files:
|
60
84
|
- AUTHORS
|
61
85
|
- CHANGES
|
62
86
|
- LICENSE
|
@@ -74,29 +98,40 @@ files:
|
|
74
98
|
has_rdoc: true
|
75
99
|
homepage: http://rubyforge.org/projects/ruby-debug/
|
76
100
|
licenses: []
|
101
|
+
|
77
102
|
post_install_message:
|
78
103
|
rdoc_options: []
|
79
|
-
|
104
|
+
|
105
|
+
require_paths:
|
80
106
|
- lib
|
81
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
107
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
82
108
|
none: false
|
83
|
-
requirements:
|
84
|
-
- -
|
85
|
-
- !ruby/object:Gem::Version
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
hash: 51
|
113
|
+
segments:
|
114
|
+
- 1
|
115
|
+
- 8
|
116
|
+
- 2
|
86
117
|
version: 1.8.2
|
87
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
88
119
|
none: false
|
89
|
-
requirements:
|
90
|
-
- -
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
hash: 3
|
124
|
+
segments:
|
125
|
+
- 0
|
126
|
+
version: "0"
|
93
127
|
requirements: []
|
128
|
+
|
94
129
|
rubyforge_project: ruby-debug19
|
95
|
-
rubygems_version: 1.
|
130
|
+
rubygems_version: 1.3.7
|
96
131
|
signing_key:
|
97
132
|
specification_version: 3
|
98
133
|
summary: Fast Ruby debugger - core component
|
99
|
-
test_files:
|
134
|
+
test_files:
|
100
135
|
- test/base/base.rb
|
101
136
|
- test/base/binding.rb
|
102
137
|
- test/base/catchpoint.rb
|