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 /lib/debug.rb | |
| 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
Diffstat (limited to 'lib/debug.rb')
| -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 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} |
