Drop into irb when debugging in Aptana 3

504 views Asked by At

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

2

There are 2 answers

0
Christopher Williams On BEST ANSWER

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#

0
horseyguy On

If you want to start an IRB session at runtime try Pry. Also Check out the blog post