ruby-debug19 0.11.5
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +9 -0
- data/LICENSE +23 -0
- data/bin/rdebug +415 -0
- data/cli/ruby-debug.rb +176 -0
- data/cli/ruby-debug/command.rb +228 -0
- data/cli/ruby-debug/commands/breakpoints.rb +153 -0
- data/cli/ruby-debug/commands/catchpoint.rb +55 -0
- data/cli/ruby-debug/commands/condition.rb +49 -0
- data/cli/ruby-debug/commands/continue.rb +38 -0
- data/cli/ruby-debug/commands/control.rb +107 -0
- data/cli/ruby-debug/commands/display.rb +120 -0
- data/cli/ruby-debug/commands/edit.rb +48 -0
- data/cli/ruby-debug/commands/enable.rb +202 -0
- data/cli/ruby-debug/commands/eval.rb +176 -0
- data/cli/ruby-debug/commands/finish.rb +42 -0
- data/cli/ruby-debug/commands/frame.rb +301 -0
- data/cli/ruby-debug/commands/help.rb +56 -0
- data/cli/ruby-debug/commands/info.rb +469 -0
- data/cli/ruby-debug/commands/irb.rb +123 -0
- data/cli/ruby-debug/commands/kill.rb +51 -0
- data/cli/ruby-debug/commands/list.rb +94 -0
- data/cli/ruby-debug/commands/method.rb +84 -0
- data/cli/ruby-debug/commands/quit.rb +39 -0
- data/cli/ruby-debug/commands/reload.rb +40 -0
- data/cli/ruby-debug/commands/save.rb +90 -0
- data/cli/ruby-debug/commands/set.rb +237 -0
- data/cli/ruby-debug/commands/show.rb +253 -0
- data/cli/ruby-debug/commands/source.rb +36 -0
- data/cli/ruby-debug/commands/stepping.rb +81 -0
- data/cli/ruby-debug/commands/threads.rb +189 -0
- data/cli/ruby-debug/commands/tmate.rb +36 -0
- data/cli/ruby-debug/commands/trace.rb +57 -0
- data/cli/ruby-debug/commands/variables.rb +199 -0
- data/cli/ruby-debug/debugger.rb +5 -0
- data/cli/ruby-debug/helper.rb +69 -0
- data/cli/ruby-debug/interface.rb +232 -0
- data/cli/ruby-debug/processor.rb +474 -0
- data/rdbg.rb +33 -0
- metadata +122 -0
data/rdbg.rb
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
#!/usr/bin/env ruby
|
3
|
+
# $Id: rdbg.rb 756 2008-03-13 02:15:04Z rockyb $
|
4
|
+
|
5
|
+
# Use this to run rdebug without installing it. We assume that the
|
6
|
+
# library directories are stored at the same level the directory
|
7
|
+
# this program.
|
8
|
+
module RDebugRunner
|
9
|
+
def runner(stdout=nil)
|
10
|
+
|
11
|
+
# Add libraries to load path.
|
12
|
+
dirname=File.dirname(__FILE__)
|
13
|
+
libs = %w(ext lib cli)
|
14
|
+
libs.each { |lib| $:.unshift File.join(dirname, lib) }
|
15
|
+
|
16
|
+
rdebug=ENV['RDEBUG'] || File.join(dirname, 'bin', 'rdebug')
|
17
|
+
if stdout
|
18
|
+
old_stdout = $stdout
|
19
|
+
$stdout.reopen(stdout)
|
20
|
+
else
|
21
|
+
old_stdout = nil
|
22
|
+
end
|
23
|
+
load(rdebug, true)
|
24
|
+
$stdout.reopen(old_stdout) if old_stdout
|
25
|
+
|
26
|
+
# Remove those libraries we just added.
|
27
|
+
1.upto(libs.size) {$:.shift}
|
28
|
+
end
|
29
|
+
module_function :runner
|
30
|
+
end
|
31
|
+
if __FILE__ == $0
|
32
|
+
RDebugRunner.runner
|
33
|
+
end
|
metadata
ADDED
@@ -0,0 +1,122 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ruby-debug19
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.11.5
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Kent Sibilev
|
8
|
+
- Mark Moseley
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
|
13
|
+
date: 2009-08-24 00:00:00 -07:00
|
14
|
+
default_executable:
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: columnize
|
18
|
+
type: :runtime
|
19
|
+
version_requirement:
|
20
|
+
version_requirements: !ruby/object:Gem::Requirement
|
21
|
+
requirements:
|
22
|
+
- - ">="
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 0.3.1
|
25
|
+
version:
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: linecache19
|
28
|
+
type: :runtime
|
29
|
+
version_requirement:
|
30
|
+
version_requirements: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 0.5.11
|
35
|
+
version:
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: ruby-debug-base19
|
38
|
+
type: :runtime
|
39
|
+
version_requirement:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - ">="
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 0.11.15
|
45
|
+
version:
|
46
|
+
description: A generic command line interface for ruby-debug.
|
47
|
+
email: mark@fast-software.com
|
48
|
+
executables:
|
49
|
+
- rdebug
|
50
|
+
extensions: []
|
51
|
+
|
52
|
+
extra_rdoc_files: []
|
53
|
+
|
54
|
+
files:
|
55
|
+
- AUTHORS
|
56
|
+
- LICENSE
|
57
|
+
- rdbg.rb
|
58
|
+
- bin/rdebug
|
59
|
+
- cli/ruby-debug.rb
|
60
|
+
- cli/ruby-debug/command.rb
|
61
|
+
- cli/ruby-debug/debugger.rb
|
62
|
+
- cli/ruby-debug/helper.rb
|
63
|
+
- cli/ruby-debug/interface.rb
|
64
|
+
- cli/ruby-debug/processor.rb
|
65
|
+
- cli/ruby-debug/commands/breakpoints.rb
|
66
|
+
- cli/ruby-debug/commands/catchpoint.rb
|
67
|
+
- cli/ruby-debug/commands/condition.rb
|
68
|
+
- cli/ruby-debug/commands/continue.rb
|
69
|
+
- cli/ruby-debug/commands/control.rb
|
70
|
+
- cli/ruby-debug/commands/display.rb
|
71
|
+
- cli/ruby-debug/commands/edit.rb
|
72
|
+
- cli/ruby-debug/commands/enable.rb
|
73
|
+
- cli/ruby-debug/commands/eval.rb
|
74
|
+
- cli/ruby-debug/commands/finish.rb
|
75
|
+
- cli/ruby-debug/commands/frame.rb
|
76
|
+
- cli/ruby-debug/commands/help.rb
|
77
|
+
- cli/ruby-debug/commands/info.rb
|
78
|
+
- cli/ruby-debug/commands/irb.rb
|
79
|
+
- cli/ruby-debug/commands/kill.rb
|
80
|
+
- cli/ruby-debug/commands/list.rb
|
81
|
+
- cli/ruby-debug/commands/method.rb
|
82
|
+
- cli/ruby-debug/commands/quit.rb
|
83
|
+
- cli/ruby-debug/commands/reload.rb
|
84
|
+
- cli/ruby-debug/commands/save.rb
|
85
|
+
- cli/ruby-debug/commands/set.rb
|
86
|
+
- cli/ruby-debug/commands/show.rb
|
87
|
+
- cli/ruby-debug/commands/source.rb
|
88
|
+
- cli/ruby-debug/commands/stepping.rb
|
89
|
+
- cli/ruby-debug/commands/threads.rb
|
90
|
+
- cli/ruby-debug/commands/tmate.rb
|
91
|
+
- cli/ruby-debug/commands/trace.rb
|
92
|
+
- cli/ruby-debug/commands/variables.rb
|
93
|
+
has_rdoc: true
|
94
|
+
homepage: http://rubyforge.org/projects/ruby-debug19/
|
95
|
+
licenses: []
|
96
|
+
|
97
|
+
post_install_message:
|
98
|
+
rdoc_options:
|
99
|
+
- --charset=UTF-8
|
100
|
+
require_paths:
|
101
|
+
- cli
|
102
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
103
|
+
requirements:
|
104
|
+
- - ">="
|
105
|
+
- !ruby/object:Gem::Version
|
106
|
+
version: 1.8.2
|
107
|
+
version:
|
108
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: "0"
|
113
|
+
version:
|
114
|
+
requirements: []
|
115
|
+
|
116
|
+
rubyforge_project: ruby-debug19
|
117
|
+
rubygems_version: 1.3.4
|
118
|
+
signing_key:
|
119
|
+
specification_version: 3
|
120
|
+
summary: Command line interface (CLI) for ruby-debug-base
|
121
|
+
test_files: []
|
122
|
+
|