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 182344 - [69cat] Unable to debug into tests
Summary: [69cat] Unable to debug into tests
Status: RESOLVED DUPLICATE of bug 139818
Alias: None
Product: ruby
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-19 04:10 UTC by esmithbss
Modified: 2010-03-26 13:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log File (219.52 KB, application/octet-stream)
2010-03-19 04:13 UTC, esmithbss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2010-03-19 04:10:31 UTC
Product Version = NetBeans IDE Dev (Build 201003170201)
Operating System = Linux version 2.6.32-trunk-686 running on i386
Java; VM; Vendor = 1.6.0_18
Runtime = Java HotSpot(TM) Client VM 16.0-b13

I have 3 tests which are failing in one Rails app.  I need to step in to them to find out what is happening; however, when I create breakpoints in the files and execute the tests by debugging the rake task for unit testing, the tests are all completed without stopping at the breakpoint.
Comment 1 esmithbss 2010-03-19 04:13:01 UTC
Created attachment 95408 [details]
Log File
Comment 2 Erno Mononen 2010-03-19 17:29:13 UTC
Yes, this is a known issue, the rake test task spins a separate process. It's been a while I last looked at this, but I think I couldn't come up with a reasonable way to attach the debugger to the new process (though at the time the debugger didn't support attaching at all, so maybe it would doable now - guess I will need to look at this again). I think we already have an issue for this, will try to find it.
Comment 3 Erno Mononen 2010-03-26 13:43:52 UTC
I think this basically a dupe of #139818, the general problem is that debugging the rake test task doesn't work.

*** This bug has been marked as a duplicate of bug 139818 ***