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 | a7a16626810e870850952bbc4729ecc8da82f666 (patch) | |
tree | 2c9153617dbcca2a6ebac964410572a10d862bdd | |
parent | 8e7586a83e8035d7b130d17cbe2d85c2a3b81f8e (diff) |
* lib/debug.rb (debug_command): added a deficient format specifier.
fixed: [ruby-core:05419]
git-svn-id: svn+ssh://ci.ruby-lang.org/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 1b12188a76..d22982b5a9 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} |