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 #200606300200 of NetBeans 5.5 Windows XP, JDK 1.5.0_02 build #09 Description: ============ Line breakpoint has wrong line number in its name. If it is set on 6th line the description says e.g. build.xml:5. Look at the attached screenshot. Steps to reproduce: =================== 1. Create new Java application from template and switch to Files view. 2. Open build.xml file into editor. 3. Invoke "Run|Toggle Breakpoint" from main menu. 4. Invoke "Window|Debugging|Breakpoints" from main menu. 5. Compare breakpoint name and actual line that numbers don't match.
Created attachment 31634 [details] Screenshot of incorrect breakpoint line number.
Reproduced. The line number is shifted by one for all ANT breakpoints.
Fixed in trunk: /cvs/ant/debugger/src/org/netbeans/modules/ant/debugger/breakpoints/BreakpointModel.java,v <-- BreakpointModel.java new revision: 1.5; previous revision: 1.4
Verified in development build #200607181800 of NetBeans 6.0.