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.
Created attachment 102389 [details] Screenshot of line not highlighted by Ant debugger. Product Version: NetBeans IDE 7.0 M2 (Build 201010121358) Java: 1.6.0_22; Java HotSpot(TM) Client VM 17.1-b03 System: Linux version 2.6.31-22-generic running on i386; UTF-8; en_US (nb) Userdir: /home/cesilko/.netbeans/7.0m2 Description: ============ When Ant debugger opens some build script and stops on some line the line is not highlighted with green color. If the file was already open before, the line is highlighted normally - see attached screenshot. Steps to reproduce: =================== 1. Launch development build of NetBeans 7.0 or NetBeans 6.9 with empty userdir. 2. Via "File > New Project..." create new Java Application project. 3. Switch to "Files" explorer, expand the new project node. 4. Right click "build.xml" node and choose "Debug Target > run" from popup menu. 5. "build.xml" file will be open in the Editor, debugger will stop at line 11 but it will not be highlighted with green color.
Reproduced.
This must be a problem of the annotation drawing. The icon is present in the gutter, just the line highlight is missing. When I submit a breakpoint in that file, the current line annotation appears.
http://hg.netbeans.org/jet-main/rev/d76e8c61b7df
Integrated into 'main-golden', will be available in build *201011100000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/d76e8c61b7df User: Jan Lahoda <jlahoda@netbeans.org> Log: #190978: ensure annotations are painted as soon as the document is opened.
*** Bug 182991 has been marked as a duplicate of this bug. ***