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 79730 - Incorrect line number in breakpoint name
Summary: Incorrect line number in breakpoint name
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Ant (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-04 19:55 UTC by Jiri Kovalsky
Modified: 2006-10-23 16:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of incorrect breakpoint line number. (43.58 KB, image/png)
2006-07-04 19:57 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2006-07-04 19:55:28 UTC
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.
Comment 1 Jiri Kovalsky 2006-07-04 19:57:15 UTC
Created attachment 31634 [details]
Screenshot of incorrect breakpoint line number.
Comment 2 Martin Entlicher 2006-07-07 11:05:45 UTC
Reproduced. The line number is shifted by one for all ANT breakpoints.
Comment 3 Martin Entlicher 2006-07-07 11:28:08 UTC
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
Comment 4 Jiri Kovalsky 2006-07-24 13:36:50 UTC
Verified in development build #200607181800 of NetBeans 6.0.