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.
[ BUILD # : 200409221800 ] [ JDK VERSION : J2SE 1.5.0 ] When I execute the debugger for my project, the green arrow that used to designate the current line is gone. The cursor moves from line to line, but I think the green arrow was much better from a human factors standpoint.
More details from reporter: The program counter is usually there after starting the debugger for the first time and then something occurs which causes it to disappear (and I've noticed recently other annotations, like the symbol denoting an overriden method disappear as well... Strangely enough, my breakpoint annotations remain). Both the green arrow icon and the highlighting disappear. All annotations reappear when stopping the debugger. In all cases that I've seen this, the typical case is as follows: 1. I hit a breakpoint in my code. 2. I do some combination of step over, step into and continue 3. Eventually the annotations disappear. I've seen this as a result of a continue (followed by doing something in my web app which causes another breakpoint to be hit), step over and step into action This occurs with a clean user directory.
One additional item of note (from reporter): I only started seeing this behavior after upgrading to build 200409221800. It wasn't happening in prior Q-builds (not sure about the daily's between the last Q-Build and the daily build that I'm using). The behavior also seems to eventually occur during every debugger session.
This behavior is actually fairly reproducible for me. Additionally, I don't lose all annotations each time I lose the program counter. I'm going to attach a screenshot and thread dump.
Created attachment 17890 [details] screenshot
Created attachment 17891 [details] thread dump
I can not reproduce this behaviour niether on Java Project nor on Web one. Can you attach some example application and describe how to reproduce it, please? And whats wxactly wrong? Green arrow only or green line too? Is it reproducible on Web Project only?
This happens consistently on two of my web projects built from existing ant scripts using the JPDA debugger. As I've mentioned before, it happens everytime based on my description and both the green arrow and green line (and sometimes other annotations) disappear. It's continuing to occur with the latest daily build (200409270901) as well. I'll try creating an example project that exhibits this behavior.
Reproducible in build 200410070525. Steps to reproduce: 1, Open JPDA debugger project 2, Set breakpoint in StartActionProvider:doAction() 3, Attach with debugger to other netbeans instance 4, Start debugging of any project in the debugged instance 5, If you see the arrow, invoke step into/step over/step out in random order and finally invoke continue 6, Start another debugging session in the debugged instance 7, Repeat from step 5 After few attempts you will reproduce it. BTW I did not loose any other annotations, just the program cunter highliting was not visible. Carret was not moved when step actions were performed. When program counter was in another file, the file was not opened.
fixed in trunk: We have listened on CURRENT_CALL_STACK changes in place of CURRENT_THREAD changes. I do not understand *exactly* what was wrong, but it works now. QA: Test F7,8, Out on different sources. Changed classes: CurrentThreadAnnotationListener
verified in nbdev200507061800.