зеркало из https://github.com/github/ruby.git
* lib/debug.rb (debug_command): added a deficient format specifier.
fixed: [ruby-core:05419] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
2fc20646c2
Коммит
08eae62935
|
@ -1,3 +1,8 @@
|
|||
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 22:02:37 2005 Masaki Suketa <masaki.suketa@nifty.ne.jp>
|
||||
|
||||
* ext/win32ole/win32ole.c (ole_method_dispid): convert dispid
|
||||
|
|
|
@ -255,7 +255,7 @@ class Context
|
|||
|
||||
def debug_command(file, line, id, binding)
|
||||
MUTEX.lock
|
||||
unless $debugger_restart
|
||||
unless defined?($debugger_restart) and $debugger_restart
|
||||
callcc{|c| $debugger_restart = c}
|
||||
at_exit {
|
||||
$debugger_restart.call
|
||||
|
@ -330,7 +330,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}
|
||||
|
|
Загрузка…
Ссылка в новой задаче