ruby-debug193 0.0.1

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.
Files changed (40) hide show
  1. data/AUTHORS +10 -0
  2. data/LICENSE +23 -0
  3. data/bin/rdebug +398 -0
  4. data/cli/ruby-debug.rb +173 -0
  5. data/cli/ruby-debug/command.rb +228 -0
  6. data/cli/ruby-debug/commands/breakpoints.rb +153 -0
  7. data/cli/ruby-debug/commands/catchpoint.rb +55 -0
  8. data/cli/ruby-debug/commands/condition.rb +49 -0
  9. data/cli/ruby-debug/commands/continue.rb +38 -0
  10. data/cli/ruby-debug/commands/control.rb +107 -0
  11. data/cli/ruby-debug/commands/display.rb +120 -0
  12. data/cli/ruby-debug/commands/edit.rb +48 -0
  13. data/cli/ruby-debug/commands/enable.rb +202 -0
  14. data/cli/ruby-debug/commands/eval.rb +176 -0
  15. data/cli/ruby-debug/commands/finish.rb +42 -0
  16. data/cli/ruby-debug/commands/frame.rb +301 -0
  17. data/cli/ruby-debug/commands/help.rb +56 -0
  18. data/cli/ruby-debug/commands/info.rb +469 -0
  19. data/cli/ruby-debug/commands/irb.rb +123 -0
  20. data/cli/ruby-debug/commands/jump.rb +66 -0
  21. data/cli/ruby-debug/commands/kill.rb +51 -0
  22. data/cli/ruby-debug/commands/list.rb +94 -0
  23. data/cli/ruby-debug/commands/method.rb +84 -0
  24. data/cli/ruby-debug/commands/quit.rb +39 -0
  25. data/cli/ruby-debug/commands/reload.rb +40 -0
  26. data/cli/ruby-debug/commands/save.rb +90 -0
  27. data/cli/ruby-debug/commands/set.rb +237 -0
  28. data/cli/ruby-debug/commands/show.rb +253 -0
  29. data/cli/ruby-debug/commands/source.rb +36 -0
  30. data/cli/ruby-debug/commands/stepping.rb +81 -0
  31. data/cli/ruby-debug/commands/threads.rb +189 -0
  32. data/cli/ruby-debug/commands/tmate.rb +36 -0
  33. data/cli/ruby-debug/commands/trace.rb +57 -0
  34. data/cli/ruby-debug/commands/variables.rb +199 -0
  35. data/cli/ruby-debug/debugger.rb +5 -0
  36. data/cli/ruby-debug/helper.rb +69 -0
  37. data/cli/ruby-debug/interface.rb +232 -0
  38. data/cli/ruby-debug/processor.rb +474 -0
  39. data/rdbg.rb +33 -0
  40. metadata +144 -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,144 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ruby-debug193
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 1
9
+ version: 0.0.1
10
+ platform: ruby
11
+ authors:
12
+ - Kent Sibilev
13
+ - Mark Moseley
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2009-09-01 00:00:00 -07:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: columnize
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ segments:
29
+ - 0
30
+ - 3
31
+ - 1
32
+ version: 0.3.1
33
+ type: :runtime
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: linecache193
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ segments:
43
+ - 0
44
+ - 0
45
+ - 1
46
+ version: 0.0.1
47
+ type: :runtime
48
+ version_requirements: *id002
49
+ - !ruby/object:Gem::Dependency
50
+ name: ruby-debug-base193
51
+ prerelease: false
52
+ requirement: &id003 !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ segments:
57
+ - 0
58
+ - 0
59
+ - 1
60
+ version: 0.0.1
61
+ type: :runtime
62
+ version_requirements: *id003
63
+ description: A generic command line interface for ruby-debug.
64
+ email: mark@fast-software.com
65
+ executables:
66
+ - rdebug
67
+ extensions: []
68
+
69
+ extra_rdoc_files: []
70
+
71
+ files:
72
+ - AUTHORS
73
+ - LICENSE
74
+ - rdbg.rb
75
+ - bin/rdebug
76
+ - cli/ruby-debug.rb
77
+ - cli/ruby-debug/command.rb
78
+ - cli/ruby-debug/debugger.rb
79
+ - cli/ruby-debug/helper.rb
80
+ - cli/ruby-debug/interface.rb
81
+ - cli/ruby-debug/processor.rb
82
+ - cli/ruby-debug/commands/breakpoints.rb
83
+ - cli/ruby-debug/commands/catchpoint.rb
84
+ - cli/ruby-debug/commands/condition.rb
85
+ - cli/ruby-debug/commands/continue.rb
86
+ - cli/ruby-debug/commands/control.rb
87
+ - cli/ruby-debug/commands/display.rb
88
+ - cli/ruby-debug/commands/edit.rb
89
+ - cli/ruby-debug/commands/enable.rb
90
+ - cli/ruby-debug/commands/eval.rb
91
+ - cli/ruby-debug/commands/finish.rb
92
+ - cli/ruby-debug/commands/frame.rb
93
+ - cli/ruby-debug/commands/help.rb
94
+ - cli/ruby-debug/commands/info.rb
95
+ - cli/ruby-debug/commands/irb.rb
96
+ - cli/ruby-debug/commands/jump.rb
97
+ - cli/ruby-debug/commands/kill.rb
98
+ - cli/ruby-debug/commands/list.rb
99
+ - cli/ruby-debug/commands/method.rb
100
+ - cli/ruby-debug/commands/quit.rb
101
+ - cli/ruby-debug/commands/reload.rb
102
+ - cli/ruby-debug/commands/save.rb
103
+ - cli/ruby-debug/commands/set.rb
104
+ - cli/ruby-debug/commands/show.rb
105
+ - cli/ruby-debug/commands/source.rb
106
+ - cli/ruby-debug/commands/stepping.rb
107
+ - cli/ruby-debug/commands/threads.rb
108
+ - cli/ruby-debug/commands/tmate.rb
109
+ - cli/ruby-debug/commands/trace.rb
110
+ - cli/ruby-debug/commands/variables.rb
111
+ has_rdoc: true
112
+ homepage: http://rubyforge.org/projects/ruby-debug19/
113
+ licenses: []
114
+
115
+ post_install_message:
116
+ rdoc_options:
117
+ - --charset=UTF-8
118
+ require_paths:
119
+ - cli
120
+ required_ruby_version: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ segments:
125
+ - 1
126
+ - 8
127
+ - 2
128
+ version: 1.8.2
129
+ required_rubygems_version: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ segments:
134
+ - 0
135
+ version: "0"
136
+ requirements: []
137
+
138
+ rubyforge_project:
139
+ rubygems_version: 1.3.6
140
+ signing_key:
141
+ specification_version: 3
142
+ summary: Command line interface (CLI) for ruby-debug-base
143
+ test_files: []
144
+