Ruby 调试在 Aptana 中无法正常工作
我使用的是 ruby 1.9.3,并且已经安装了调试所需的所有 gem:
ruby-debug-base19 (0.11.25) 红宝石调试IDE (0.4.16) ruby-debug19 (0.11.6)
和 Aptana 3.0.10
当通过 aptana 启动调试器时,它只是打印出
Fast Debugger (ruby-debug-ide 0.4.16, ruby-debug-base 0.11) Listens位于 127.0.0.1:58637
上
并运行脚本。它不会在任何断点处停止,甚至无法单步执行。 (脚本成功终止)
我的问题是:
- 这是 Aptana 中 ruby 调试器的正常行为吗? (=完全没用)
- 使用旧版本的 ruby/Aptana 来运行调试器会有帮助吗?
I'm using ruby 1.9.3 and I have installed all gems needed for debugging:
ruby-debug-base19 (0.11.25)
ruby-debug-ide (0.4.16)
ruby-debug19 (0.11.6)
and Aptana 3.0.10
When debugger launched through aptana, it simply prints out
Fast Debugger (ruby-debug-ide 0.4.16, ruby-debug-base 0.11) listens on 127.0.0.1:58637
and runs script. It won't stop on any breakpoints, even stepping isn't available. (Script terminates successfully)
my questions are:
- is this normal behavior of ruby debugger in Aptana ? ( = it is completely useless )
- would it help to use older version of ruby/Aptana to have working debugger ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于你的第一个问题:
这是不正常的。我曾经在 Windows/Linux 上的 Ruby 1.8.7 中使用 Aptana 3(或 Eclipse),一切正常,但最近我已经从 Ruby 1.8.7 迁移到 Ruby 1.9.3...我必须重新设置一切,看来我目前只在 Linux 上有运气,在 Windows 上还没有。
对于你的第二个问题:
是的,如果您在 Windows 中回滚到 Ruby 1.8.7,则 Aptana 中一切正常。
有人有在 Windows 中为 Ruby 1.9.3/Aptana 设置 ruby-debug-ide 的经验吗?
To your 1st question:
It is not normal. I used to use Aptana 3 (or Eclipse) in Ruby 1.8.7 on both Windows/Linux, everything works fine, but recently i have moved from Ruby 1.8.7 to Ruby 1.9.3... i have to re-setup everything, it seems i only have luck in Linux, but not windows so far.
To your 2nd question:
Yes, if you roll back to Ruby 1.8.7 in Windows, everything works fine in Aptana
Anyone have experience to setup ruby-debug-ide in Windows for Ruby 1.9.3/Aptana?