ruby-debug-ide 0.7.2 → 0.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +51 -0
- data/bin/gdb_wrapper +0 -0
- data/bin/rdebug-ide +0 -0
- data/lib/ruby-debug-ide/commands/jump.rb +0 -0
- data/lib/ruby-debug-ide/commands/pause.rb +0 -0
- data/lib/ruby-debug-ide/commands/set_type.rb +0 -0
- data/lib/ruby-debug-ide/thread_alias.rb +3 -3
- data/lib/ruby-debug-ide/version.rb +1 -1
- data/lib/ruby-debug-ide/xml_printer.rb +3 -3
- data/ruby-debug-ide.gemspec +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd68f6b14a9e6741f50453d3a0495ca8e4bc1b3079ba745ccd73909bbceed884
|
4
|
+
data.tar.gz: c92c8fc774c5d9706e4c769e54de0a3402dff9859ebbf8b8f4dd0b51adeeff36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7eea8a0e35f9e2ac5f26d26e64627a9d9291e44d2e42bacd44af2700d73e7de2ca972fa255363c4bd6a7bba9177a458ac8c937240f1899c02ff504a088116edf
|
7
|
+
data.tar.gz: a7bc78d51b9f1ebafdbf19de69b31644b165ccc315e23644204b87dfeacb4eaaec2e6e0a8ce9140141a08c8f24b80fc775db5d0e9a0069eb4eacd6dfd417e299
|
data/Rakefile
CHANGED
@@ -39,4 +39,55 @@ task :changelog, :since_c, :until_c do |t,args|
|
|
39
39
|
end
|
40
40
|
|
41
41
|
puts changelog_content
|
42
|
+
end
|
43
|
+
|
44
|
+
desc "Generates travis.yaml"
|
45
|
+
task :gen_travis do
|
46
|
+
versions = []
|
47
|
+
|
48
|
+
def versions.add(major:, minor:, include_macos: true)
|
49
|
+
self << { major: major, minor: [minor], include_macos: include_macos }
|
50
|
+
end
|
51
|
+
|
52
|
+
versions.add major: '3.0', minor: 1
|
53
|
+
versions.add major: '2.7', minor: 3
|
54
|
+
versions.add major: '2.6', minor: 7
|
55
|
+
versions.add major: '2.5', minor: 9
|
56
|
+
versions.add major: '2.4', minor: 10
|
57
|
+
versions.add major: '2.3', minor: 8, include_macos: false
|
58
|
+
versions.add major: '2.2', minor: 10, include_macos: false
|
59
|
+
versions.add major: '2.1', minor: 10, include_macos: false
|
60
|
+
versions.add major: '2.0', minor: 0, include_macos: false
|
61
|
+
versions.add major: '1.9', minor: 3, include_macos: false
|
62
|
+
versions.add major: '1.8', minor: 7, include_macos: false
|
63
|
+
|
64
|
+
puts <<EOM
|
65
|
+
language: ruby
|
66
|
+
dist: trusty
|
67
|
+
matrix:
|
68
|
+
fast_finish: true
|
69
|
+
include:
|
70
|
+
EOM
|
71
|
+
|
72
|
+
loop do
|
73
|
+
found_some = false
|
74
|
+
|
75
|
+
versions.each do |version|
|
76
|
+
minor = version[:minor].pop
|
77
|
+
if minor
|
78
|
+
found_some = true
|
79
|
+
full_version = "#{version[:major]}.#{minor}"
|
80
|
+
puts <<EOM
|
81
|
+
- os: linux
|
82
|
+
rvm: #{full_version}
|
83
|
+
EOM
|
84
|
+
puts <<EOM if version[:include_macos]
|
85
|
+
- os: osx
|
86
|
+
rvm: #{full_version}
|
87
|
+
EOM
|
88
|
+
end
|
89
|
+
end
|
90
|
+
|
91
|
+
break unless found_some
|
92
|
+
end
|
42
93
|
end
|
data/bin/gdb_wrapper
CHANGED
File without changes
|
data/bin/rdebug-ide
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -8,7 +8,7 @@ module Debugger
|
|
8
8
|
end
|
9
9
|
|
10
10
|
Object.const_set :OldThread, ::Thread
|
11
|
-
Object.
|
11
|
+
Object.__send__ :remove_const, :Thread
|
12
12
|
Object.const_set :Thread, ::Debugger::DebugThread
|
13
13
|
end
|
14
14
|
|
@@ -18,9 +18,9 @@ module Debugger
|
|
18
18
|
return
|
19
19
|
end
|
20
20
|
|
21
|
-
Object.
|
21
|
+
Object.__send__ :remove_const, :Thread
|
22
22
|
Object.const_set :Thread, ::OldThread
|
23
|
-
Object.
|
23
|
+
Object.__send__ :remove_const, :OldThread
|
24
24
|
end
|
25
25
|
end
|
26
26
|
end
|
@@ -208,13 +208,13 @@ module Debugger
|
|
208
208
|
end
|
209
209
|
|
210
210
|
def exec_with_allocation_control(value, exec_method, overflow_message_type)
|
211
|
-
return value.
|
211
|
+
return value.__send__ exec_method unless Debugger.trace_to_s
|
212
212
|
|
213
213
|
memory_limit = Debugger.debugger_memory_limit
|
214
214
|
time_limit = Debugger.inspect_time_limit
|
215
215
|
|
216
216
|
if defined?(JRUBY_VERSION) || RUBY_VERSION < '2.0' || memory_limit <= 0
|
217
|
-
return exec_with_timeout(time_limit * 1e-3, "Timeout: evaluation of #{exec_method} took longer than #{time_limit}ms.") { value.
|
217
|
+
return exec_with_timeout(time_limit * 1e-3, "Timeout: evaluation of #{exec_method} took longer than #{time_limit}ms.") { value.__send__ exec_method }
|
218
218
|
end
|
219
219
|
|
220
220
|
require 'objspace'
|
@@ -245,7 +245,7 @@ module Debugger
|
|
245
245
|
end
|
246
246
|
end
|
247
247
|
trace_point.enable
|
248
|
-
result = value.
|
248
|
+
result = value.__send__ exec_method
|
249
249
|
trace_queue << result
|
250
250
|
trace_point.disable
|
251
251
|
end
|
data/ruby-debug-ide.gemspec
CHANGED
@@ -30,8 +30,8 @@ EOF
|
|
30
30
|
|
31
31
|
spec.version = RUBY_DEBUG_IDE_VERSION
|
32
32
|
|
33
|
-
spec.author = "Markus Barchfeld, Martin Krauskopf, Mark Moseley,
|
34
|
-
spec.email = "
|
33
|
+
spec.author = "Markus Barchfeld, Martin Krauskopf, Mark Moseley, Alexandr Evstigneev"
|
34
|
+
spec.email = "hurricup@gmail.com"
|
35
35
|
spec.license = "MIT"
|
36
36
|
spec.platform = Gem::Platform::RUBY
|
37
37
|
spec.require_path = "lib"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-debug-ide
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Markus Barchfeld, Martin Krauskopf, Mark Moseley,
|
7
|
+
- Markus Barchfeld, Martin Krauskopf, Mark Moseley, Alexandr Evstigneev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -28,7 +28,7 @@ description: 'An interface which glues ruby-debug to IDEs like Eclipse (RDT), Ne
|
|
28
28
|
and RubyMine.
|
29
29
|
|
30
30
|
'
|
31
|
-
email:
|
31
|
+
email: hurricup@gmail.com
|
32
32
|
executables:
|
33
33
|
- rdebug-ide
|
34
34
|
- gdb_wrapper
|
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: '0'
|
105
105
|
requirements: []
|
106
|
-
rubygems_version: 3.
|
106
|
+
rubygems_version: 3.2.22
|
107
107
|
signing_key:
|
108
108
|
specification_version: 4
|
109
109
|
summary: IDE interface for ruby-debug.
|