byebug / ruby-debug: Find out current debugger position

Updated . Posted . Visible to the public.

So you are debugging like a boss and lost track of where you actually are in your code? No problem:

  • Calling "l=" will show you the current file and line. That's a lower-case L and an equals sign.
  • "where" (or "backtrace") will give you the debugger call stack, including current file and line as well. It can be quite long.
Arne Hartherz
Last edit
Deleted user #5237
Keywords
byebug
License
Source code in this card is licensed under the MIT License.
Posted by Arne Hartherz to makandra dev (2012-11-19 11:10)