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.
Development build #200606271800 of NetBeans 6.0 Windows XP, JDK 1.5.0_05 build #05 or JDK 1.6.0 RC build #87 Description: ============ In spite of disabled breakpoint in my build script Ant debugger ignores it and stops at appropriate line when the breakpoint is hit. Steps to reproduce: =================== 1. Download and unzip build scripts from here: http://qa.netbeans.org/modules/debugger/promo-f/build-scripts.zip 2. Mount directory with the two XML files in Favourites view. 3. Open build.xml file and toggle breakpoint at line 12. 4. Invoke "Window|Debugging|Breakpoints" from main menu. 5. Right click the breakpoint and choose "Disable" from its popup menu. 6. Right click build.xml filenode and invoke "Debug Target|Other Targets|run". 7. Once debugger stops at line 5 invoke "Run|Continue" from main menu. 8. Debugger goes on until it stops at line 12.
Reproduced. Interestingly, I got a NPE in the console, which probably caused the debugger to stop inside the imported file.
Created attachment 31479 [details] The NPE I got in console.
Oops, this belongs to issue #79341! Please ignore my last message and the attachment.
Reproduced. Starting to work on it....
Please note that this is M1 blocker issue and should be fixed by this Friday - June 30, 2006.
Fixed in trunk: /cvs/ant/debugger/src/org/netbeans/modules/ant/debugger/AntDebugger.java,v <-- AntDebugger.java new revision: 1.12; previous revision: 1.11
Verified in development build #200606291800 of NetBeans 6.0. Could you please backport the fix to release55 branch too ? Leaving as fixed but changing "Target milestone" to TBD.
Created attachment 31544 [details] The textual diff of the fix.
The fix is backported into release55 branch: /cvs/ant/debugger/src/org/netbeans/modules/ant/debugger/AntDebugger.java,v <-- AntDebugger.java new revision: 1.2.38.1.2.2; previous revision: 1.2.38.1.2.1
Verified in NetBeans 5.5 Beta 2 build #200607190830.