mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
2000-02-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
25be6ce9b5
commit
320e99d8dd
33 changed files with 1157 additions and 516 deletions
|
@ -97,7 +97,7 @@ class DEBUGGER__
|
|||
begin
|
||||
val = eval(str, binding)
|
||||
val
|
||||
rescue
|
||||
rescue StandardError, ScriptError
|
||||
at = eval("caller(0)", binding)
|
||||
stdout.printf "%s:%s\n", at.shift, $!.to_s.sub(/\(eval\):1:(in `.*?':)?/, '') #`
|
||||
for i in at
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue