Skip to content

Instantly share code, notes, and snippets.

@banister
Created February 29, 2012 14:10
Show Gist options
  • Save banister/cc9b316c12e65511ad78 to your computer and use it in GitHub Desktop.
Save banister/cc9b316c12e65511ad78 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.4/lib/binding_of_caller.rb:1: Use RbConfig instead of obsolete and deprecated Config.
/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.4/lib/binding_of_caller.rb:1: Use RbConfig instead of obsolete and deprecated Config.
[1] (pry) main: 0> def hello
[1] (pry) main: 0* 1/0
[1] (pry) main: 0* end
=> nil
[2] (pry) main: 0> def goodbye
[2] (pry) main: 0* hello
[2] (pry) main: 0* end
=> nil
[3] (pry) main: 0> goodbye
ZeroDivisionError: divided by 0
from (pry):2:in `/'
[4] (pry) main: 0> enter-exception
Frame number: 0/14
Frame type: method
From: (pry) @ line 2 in Object#hello:
1: def hello
=> 2: 1/0
3: end
4: def goodbye
5: hello
6: end
7: goodbye
[5] (pry) main: 0> up
Frame number: 1/14
Frame type: method
From: (pry) @ line 5 in Object#goodbye:
1: def hello
2: 1/0
3: end
4: def goodbye
=> 5: hello
6: end
7: goodbye
[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