diff options
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 024365d174..7807ebd4da 100644 --- a/lib/debug.rb +++ b/lib/debug.rb @@ -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 |