NetBeans Debugging

View: New views
3 Messages — Rating Filter:   Alert me  

NetBeans Debugging

by bruparel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I am using NetBeans 6.1 on Ubuntu 7.10.
Is there any way that I can put a breakpoint on a particular line of code in a Ruby on Rails application, and when the running program breaks on that line, load Rails Console to do arbitrary testing at that point?  That is be able to type in values create local vars etc.  I am trying to mix and match both the debugger and the rails console to get the best of both.  Is that possible?

Re: NetBeans Debugging

by Martin Krauskopf :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

bruparel wrote:
> I am using NetBeans 6.1 on Ubuntu 7.10.
> Is there any way that I can put a breakpoint on a particular line of code in
> a Ruby on Rails application, and when the running program breaks on that
> line, load Rails Console to do arbitrary testing at that point?  That is be
> able to type in values create local vars etc.  I am trying to mix and match
> both the debugger and the rails console to get the best of both.  Is that
> possible?

Not yet:

   http://www.netbeans.org/issues/show_bug.cgi?id=107761

You might use a watch (Menu -> Debug -> New Watch or C-S-F7), which is
not that convenient comparing to the console.

        m.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: NetBeans Debugging

by bruparel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Martin.
This would be a very useful addition to NetBeans functionality.  I am working on a rather substantial size Rails project that I have inherited.  This would be very useful in being able to reverse engineer things that are much more difficult to figure out otherwise.
Bharat
LightInTheBox - Buy quality products at wholesale price!