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 - [72cat] Debugger steps into all test methods even when just one test method is debugged and Compile on save is off
Summary: [72cat] Debugger steps into all test methods even when just one test method i...
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.2
Hardware: PC Windows 7 x64
: P2 normal (vote)
Assignee: Martin Entlicher
Depends on:
Reported: 2012-06-07 20:57 UTC by crazyjavahacking
Modified: 2012-06-11 06:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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.