ruby-debug 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +10 -2
- data/Rakefile +1 -1
- data/ext/ruby_debug.c +1 -1
- data/lib/ruby-debug.rb +8 -1
- metadata +2 -2
data/CHANGES
CHANGED
@@ -1,4 +1,12 @@
|
|
1
|
-
0.1 (2006-06-
|
1
|
+
0.1.4 (2006-06-12)
|
2
|
+
- Remembers the previous command. Invoke it by typing a carriage return
|
3
|
+
at the command prompt.
|
4
|
+
|
5
|
+
0.1.3 (2006-06-11)
|
6
|
+
- Conditional breakpoints
|
7
|
+
- Bugfixes
|
8
|
+
|
9
|
+
0.1.2 (2006-06-16)
|
2
10
|
========================
|
3
11
|
|
4
|
-
Initial release.
|
12
|
+
- Initial release.
|
data/Rakefile
CHANGED
data/ext/ruby_debug.c
CHANGED
data/lib/ruby-debug.rb
CHANGED
@@ -51,6 +51,8 @@ module Debugger
|
|
51
51
|
@trace_proc = nil
|
52
52
|
|
53
53
|
class Context
|
54
|
+
DEBUG_LAST_CMD = []
|
55
|
+
|
54
56
|
private
|
55
57
|
|
56
58
|
begin
|
@@ -110,7 +112,12 @@ module Debugger
|
|
110
112
|
prompt = true
|
111
113
|
while prompt and input = readline("(rdb:%d) " % Debugger.thnum, true)
|
112
114
|
catch(:debug_error) do
|
113
|
-
|
115
|
+
if input == ""
|
116
|
+
next unless DEBUG_LAST_CMD[0]
|
117
|
+
input = DEBUG_LAST_CMD[0]
|
118
|
+
else
|
119
|
+
DEBUG_LAST_CMD[0] = input
|
120
|
+
end
|
114
121
|
|
115
122
|
case input
|
116
123
|
when /^\s*s(?:tep)?(?:\s+(\d+))?$/
|
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.1.
|
7
|
-
date: 2006-07-
|
6
|
+
version: 0.1.4
|
7
|
+
date: 2006-07-12 20:47:26 -04:00
|
8
8
|
summary: Fast Ruby debugger
|
9
9
|
require_paths:
|
10
10
|
- lib
|