This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 145036 - Rails Debugging Issues
Summary: Rails Debugging Issues
Status: RESOLVED FIXED
Alias: None
Product: ruby
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2008-08-25 17:43 UTC by arungupta
Modified: 2009-05-21 19:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arungupta 2008-08-25 17:43:44 UTC
Most of the issues though are random and do not have an exact set of steps to reproduce. But here they are:

1). Create a simple app, add a controller/view, do couple of string assignments in controller and show them in view,
setup a break point in Controller, start debugger, view the page. Debug panel is shown and Local Variables are shown
correctly.

After running through the app couple of times, breakpoints are not hit and the View page is shown directly. It happens
sometimes after 2 runs and other times during 4 runs - totally random.

2). Sometimes, the breakpoint is hit twice before the page is displayed. This happens mostly if some time is spent
viewing the debug variables. 

3). Running the Rails app and then debugging it seems to freeze the IDE and had to be kill -9. This is a very common
usecase and must be supported.
Comment 1 _ pcw 2008-12-09 17:55:24 UTC
This is most likely an issue with the debugger back end (RDebug).

Submitter:  Please read http://wiki.netbeans.org/RubyDebugging#section-RubyDebugging-HowToFileABug and attach logs.  It
will help us greatly in diagnosing these kinds of problems.

Reassigning to Martin, as none of the description is specific to GlassFish V3.
Comment 2 _ pcw 2008-12-09 17:58:06 UTC
Oh, hi Arun :)  Didn't notice, been churning through evaluations.  This is an older bug.  Does any of this still happen?
 I'm pretty sure the specific issues you were encountering when this bug was filed are long since fixed.

If so, comment as such, we can close as fixed and you can verify.
Comment 3 Erno Mononen 2009-05-21 13:45:52 UTC
Please see Peter's last comment and let us know if this still happens to you. Thanks.
Comment 4 arungupta 2009-05-21 18:34:22 UTC
I've successfully shown debugging multiple times after that since then. So this issue might have been fixed in the
meanwhile.
Comment 5 _ pcw 2009-05-21 19:21:06 UTC
Thanks.  I'm going to close this as fixed.  I'm sure the original issues that prompted this report were fixed for 6.5.
If any of the behavior recurs, please file a new issue.