ruby-debug 0.2-mswin32 → 0.3-mswin32
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +22 -5
- data/Rakefile +1 -1
- data/bin/rdebug +16 -27
- data/ext/ruby_debug.c +20 -40
- data/lib/ruby-debug.rb +123 -45
- data/lib/ruby-debug/command.rb +76 -0
- data/lib/ruby-debug/commands/breakpoints.rb +136 -0
- data/lib/ruby-debug/commands/catchpoint.rb +40 -0
- data/lib/ruby-debug/commands/control.rb +55 -0
- data/lib/ruby-debug/commands/display.rb +106 -0
- data/lib/ruby-debug/commands/eval.rb +54 -0
- data/lib/ruby-debug/commands/frame.rb +125 -0
- data/lib/ruby-debug/commands/help.rb +47 -0
- data/lib/ruby-debug/commands/list.rb +67 -0
- data/lib/ruby-debug/commands/method.rb +53 -0
- data/lib/ruby-debug/commands/stepping.rb +104 -0
- data/lib/ruby-debug/commands/threads.rb +164 -0
- data/lib/ruby-debug/commands/tmate.rb +25 -0
- data/lib/ruby-debug/commands/trace.rb +33 -0
- data/lib/ruby-debug/commands/variables.rb +113 -0
- data/lib/ruby-debug/lock.rb +41 -0
- data/lib/ruby-debug/processor.rb +118 -555
- data/lib/ruby_debug.so +0 -0
- metadata +19 -3
- data/bin/remote +0 -30
data/lib/ruby_debug.so
CHANGED
Binary file
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.0
|
|
3
3
|
specification_version: 1
|
4
4
|
name: ruby-debug
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: "0.
|
7
|
-
date: 2006-
|
6
|
+
version: "0.3"
|
7
|
+
date: 2006-08-13 16:55:45 -04:00
|
8
8
|
summary: Fast Ruby debugger
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -35,13 +35,29 @@ files:
|
|
35
35
|
- CHANGES
|
36
36
|
- lib/ruby-debug
|
37
37
|
- lib/ruby-debug.rb
|
38
|
+
- lib/ruby-debug/command.rb
|
39
|
+
- lib/ruby-debug/commands
|
38
40
|
- lib/ruby-debug/interface.rb
|
41
|
+
- lib/ruby-debug/lock.rb
|
39
42
|
- lib/ruby-debug/processor.rb
|
43
|
+
- lib/ruby-debug/commands/breakpoints.rb
|
44
|
+
- lib/ruby-debug/commands/catchpoint.rb
|
45
|
+
- lib/ruby-debug/commands/control.rb
|
46
|
+
- lib/ruby-debug/commands/display.rb
|
47
|
+
- lib/ruby-debug/commands/eval.rb
|
48
|
+
- lib/ruby-debug/commands/frame.rb
|
49
|
+
- lib/ruby-debug/commands/help.rb
|
50
|
+
- lib/ruby-debug/commands/list.rb
|
51
|
+
- lib/ruby-debug/commands/method.rb
|
52
|
+
- lib/ruby-debug/commands/stepping.rb
|
53
|
+
- lib/ruby-debug/commands/threads.rb
|
54
|
+
- lib/ruby-debug/commands/tmate.rb
|
55
|
+
- lib/ruby-debug/commands/trace.rb
|
56
|
+
- lib/ruby-debug/commands/variables.rb
|
40
57
|
- ext/extconf.rb
|
41
58
|
- ext/ruby_debug.c
|
42
59
|
- ext/win32
|
43
60
|
- bin/rdebug
|
44
|
-
- bin/remote
|
45
61
|
- lib/ruby_debug.so
|
46
62
|
test_files: []
|
47
63
|
|
data/bin/remote
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require 'socket'
|
4
|
-
require "ruby-debug/inputs"
|
5
|
-
|
6
|
-
host = ARGV[0] || "localhost"
|
7
|
-
port = 8989
|
8
|
-
|
9
|
-
input = Debugger::LocalInput.new
|
10
|
-
socket = TCPSocket.new(host, port)
|
11
|
-
puts "Connected."
|
12
|
-
|
13
|
-
catch(:exit) do
|
14
|
-
while (line = socket.gets)
|
15
|
-
case line
|
16
|
-
when /^PROMPT (.*)$/
|
17
|
-
data = input.read_command($1)
|
18
|
-
throw :exit unless data
|
19
|
-
socket.puts data
|
20
|
-
when /^CONFIRM (.*)$/
|
21
|
-
data = input.confirm($1)
|
22
|
-
throw :exit unless data
|
23
|
-
socket.puts data
|
24
|
-
else
|
25
|
-
print line
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
socket.close
|
30
|
-
puts
|