diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-10 03:47:56 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-07-10 03:47:56 +0000 |
| commit | f40fe148e524122337a5828cf110e5d1adc3ff31 (patch) | |
| tree | 2c9153617dbcca2a6ebac964410572a10d862bdd | |
| parent | 1dfb1763d2e6534f362932a51576c70d01667ccc (diff) | |
| download | ruby-f40fe148e524122337a5828cf110e5d1adc3ff31.tar.gz ruby-f40fe148e524122337a5828cf110e5d1adc3ff31.tar.xz ruby-f40fe148e524122337a5828cf110e5d1adc3ff31.zip | |
* lib/debug.rb (debug_command): added a deficient format specifier.
fixed: [ruby-core:05419]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | lib/debug.rb | 2 |
2 files changed, 7 insertions, 2 deletions
@@ -1,6 +1,11 @@ +Sun Jul 10 12:47:01 2005 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * lib/debug.rb (debug_command): added a deficient format specifier. + fixed: [ruby-core:05419] + Sat Jul 9 21:28:46 2005 Masaki Suketa <masaki.suketa@nifty.ne.jp> - * ext/win32ole/win32ole.c (ole_method_dispid): convert dispid + * ext/win32ole/win32ole.c (ole_method_dispid): convert dispid in Ruby and C by INT2NUM and NUM2INT. * ext/win32ole/win32ole.c (ole_invoke2): ditto. diff --git a/lib/debug.rb b/lib/debug.rb index 1b12188a7..d22982b5a 100644 --- a/lib/debug.rb +++ b/lib/debug.rb @@ -324,7 +324,7 @@ class Context when /^\s*wat(?:ch)?\s+(.+)$/ exp = $1 break_points.push [true, 1, exp] - stdout.printf "Set watchpoint %d\n", break_points.size, exp + stdout.printf "Set watchpoint %d:%s\n", break_points.size, exp when /^\s*b(?:reak)?$/ if break_points.find{|b| b[1] == 0} |
