Blankman
Blankman

Reputation: 266920

When in debug mode, how to get back to controller class?

When in debug mode, and when I press 'n', after a while it goes into the internals of rails, how do I jump back to my controller class?

Upvotes: 0

Views: 63

Answers (1)

Steve Ross
Steve Ross

Reputation: 4144

Use finish to complete the stack frame you're in (in the internals of Rails). You may need to do this several times before you are back where you want to be.

For the definitive guide (or should I say, manual), see: http://bashdb.sourceforge.net/ruby-debug.html.

Upvotes: 1

Related Questions