在 Aptana 3 中调试时放入 irb
我是 ruby 和 Aptana 的新手(我之前使用过 eclipse),我想知道在 Aptana 中调试时是否可以进入 irb 来处理当前设置的值。例如,在 eclipse 中在断点上执行 Java dev,您可以打开 Window ->显示视图->显示并开始执行 Java 代码,所有对象都具有当前状态。 Aptana 3 中是否有类似的用于调试 ruby 应用程序的功能?
谢谢
I am new to ruby and Aptana (I have used eclipse before) I was wondering if when debugging in Aptana we can drop into irb to play around with things with current values set. For example doing Java dev in eclipse on a breakpoint you can open Window -> Show View -> Display and start executing Java code with all objects having their current state. Is there a similar thing for debugging ruby apps in Aptana 3?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
此功能未在 Studio 3.0 中实现,但计划在 3.0.2 中实现。这是该工作的门票: https://aptana.lighthouseapp.com/projects/35272/tickets/2122-port-display-view-fro-ruby-debugging-from-radrails-2x
您可以通过我们的每晚构建。有关获取该信息的说明,请参阅此处:http://wiki.appcelerator .org/display/tis/Changing+the+Update+Type#
This feature wasn't implemented in Studio 3.0, but is scheduled for 3.0.2. Here's the ticket for the work: https://aptana.lighthouseapp.com/projects/35272/tickets/2122-port-display-view-fro-ruby-debugging-from-radrails-2x
You can try it out via our nightly builds. See here for the instructions on getting that: http://wiki.appcelerator.org/display/tis/Changing+the+Update+Type#
如果您想在运行时启动 IRB 会话,请尝试 Pry。另请查看博客文章
If you want to start an IRB session at runtime try Pry. Also Check out the blog post