Skip to content

Instantly share code, notes, and snippets.

@banister
Created February 29, 2012 02:52
Show Gist options
  • Save banister/bfe3a53bba5741885ada to your computer and use it in GitHub Desktop.
Save banister/bfe3a53bba5741885ada to your computer and use it in GitHub Desktop.
crow:binding_of_caller john$ pry --c-exceptions
/Users/john/.rvm/gems/ruby-1.9.3-p125/gems/pry-0.9.8.2/lib/pry/pry_class.rb:213: warning: Insecure world writable dir /Applications/MacPorts/Emacs.app/Contents in PATH, mode 040777
/Users/john/.rvm/gems/ruby-1.9.3-p125/gems/pry-0.9.8.2/lib/pry/pry_class.rb:213: warning: Insecure world writable dir /Applications/MacPorts/Emacs.app/Contents in PATH, mode 040777
/Users/john/.rvm/gems/ruby-1.9.3-p125/gems/binding_of_caller-0.6.3/lib/binding_of_caller.rb:1: Use RbConfig instead of obsolete and deprecated Config.
First run, building shim
/Users/john/.pry-exception_explorer/1.9.3/raise_shim.c: In function ‘rb_raise’:
/Users/john/.pry-exception_explorer/1.9.3/raise_shim.c:17: warning: ‘noreturn’ function does return
/Users/john/.pry-exception_explorer/1.9.3/raise_shim.c: In function ‘rb_name_error’:
/Users/john/.pry-exception_explorer/1.9.3/raise_shim.c:23: warning: ‘noreturn’ function does return
Hopefully built...!
/Users/john/.rvm/gems/ruby-1.9.3-p125/gems/pry-0.9.8.2/lib/pry/pry_class.rb:213: warning: Insecure world writable dir /Applications/MacPorts/Emacs.app/Contents in PATH, mode 040777
dyld: Symbol not found: _environ
Referenced from: /Users/john/.rvm/rubies/ruby-1.9.3-p125/lib/libruby.1.9.1.dylib
Expected in: flat namespace
in /Users/john/.rvm/rubies/ruby-1.9.3-p125/lib/libruby.1.9.1.dylib
dyld: Symbol not found: _environ
Referenced from: /Users/john/.rvm/rubies/ruby-1.9.3-p125/lib/libruby.1.9.1.dylib
Expected in: flat namespace
in /Users/john/.rvm/rubies/ruby-1.9.3-p125/lib/libruby.1.9.1.dylib
dyld: Symbol not found: _environ
Referenced from: /Users/john/.rvm/rubies/ruby-1.9.3-p125/lib/libruby.1.9.1.dylib
Expected in: flat namespace
in /Users/john/.rvm/rubies/ruby-1.9.3-p125/lib/libruby.1.9.1.dylib
/Users/john/.rvm/gems/ruby-1.9.3-p125/gems/binding_of_caller-0.6.3/lib/binding_of_caller.rb:1: Use RbConfig instead of obsolete and deprecated Config.
[1] (pry) main: 0> J
NameError: hooked exception (pry)
from (pry):1:in `<main>'
[2] (pry) main: 0> j
=> nil
[3] (pry) main: 0> o
NameError: undefined local variable or method `o' for main:Object
from (pry):3:in `<main>'
[4] (pry) main: 0> 1/0
ZeroDivisionError: divided by 0
from (pry):4:in `/'
[5] (pry) main: 0> enter-exception
Frame number: 0/12
Frame type: eval
From: (pry) @ line 4:
1: J
2: j
3: o
=> 4: 1/0
[6] (pry) main: 0> exit-exception
[7] (pry) main: 0>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment