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 213773

Summary: [72cat] Debugger steps into all test methods even when just one test method is debugged and Compile on save is off
Product: debugger Reporter: crazyjavahacking
Component: JavaAssignee: Martin Entlicher <mentlicher>
Severity: normal    
Priority: P2    
Version: 7.2   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:

Description crazyjavahacking 2012-06-07 20:57:39 UTC
Compiler will step into all test methods with breakpoints when just one method is debugged and Compile on safe is off (when Compile on save is on, it works correctly).

To reproduce the bug, just follow the and the "10. Debug" test case.

It does not work only got JUnit 4 (JUnit 3 works fine).

NetBeans Dev 201206070001, JDK 7u2 32bit
Comment 1 Martin Entlicher 2012-06-08 11:42:56 UTC
The problem is in different class path for Run and Debug.
Comment 2 Martin Entlicher 2012-06-10 08:24:05 UTC
It's fixed by changeset:   224107:fda4ea9dcfe8
We use junit task instead of JUnitTestRunner when debugging.
Comment 3 Quality Engineering 2012-06-11 06:27:06 UTC
Integrated into 'main-golden', will be available in build *201206110001* on (upload may still be in progress)
Log: #213773: Get rid of JUnitTestRunner used by test debugging. Pass the debugging parameters to junit instead.