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 /lib | |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/debug.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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} |