Skip to content

Instantly share code, notes, and snippets.

@10io
Created May 1, 2013 11:02
Show Gist options
  • Save 10io/5494734 to your computer and use it in GitHub Desktop.
Save 10io/5494734 to your computer and use it in GitHub Desktop.
Show backtrace from ruby debugger on ruby 1.9, see https://github.com/cldwalker/debugger/issues/16
pp caller.drop_while {|e| e[/ruby-debug|\(eval\)|debugger|\<internal:prelude\>/] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment