加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ruby-on-rails – 如何让ruby / rails调试器跳转到应用程序代码

发布时间:2020-12-17 07:09:27 所属栏目:百科 来源:网络整理
导读:在做Rails开发时,并使用调试器 经常发生这一步导致库代码, 有没有办法限制它只跳进我的应用程序的代码? 非常感谢你 解决方法 而不是使用步骤,请使用next. 从Rails指南: The difference between next and step is that step stops at the next line of code
在做Rails开发时,并使用调试器
经常发生这一步导致库代码,
有没有办法限制它只跳进我的应用程序的代码?
非常感谢你

解决方法

而不是使用步骤,请使用next.

从Rails指南:

The difference between next and step is that step stops at the next
line of code executed,doing just a single step,while next moves to
the next line without descending inside methods.

假设您在应用程序代码中设置断点,接下来不会下降到库代码中.它将保持“框架内”.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读