From f40fe148e524122337a5828cf110e5d1adc3ff31 Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 10 Jul 2005 03:47:56 +0000 Subject: * 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 --- lib/debug.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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} -- cgit