开发者

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

开发者 https://www.devze.com 2023-02-17 20:37 出处:网络
W开发者_StackOverflow中文版hen 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?Use finish to complete the stack fram

W开发者_StackOverflow中文版hen 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?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消