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 # : 201011160001 ] [ JDK VERSION : 1.6.22 ] Clicking on the left of the editor doesn't set/unset breakpoints
What kind of file is it? A Java file or C file or... Is it reproducible? Is this inability to set breakpoints only in some particular file, or all files? Do other annotations (like overrides, etc.) appear in the editor gutter? Does restart of NetBeans solve this or not?
Restarting Netbeans solved the problem. I have only tried with java files in a nb module project, and it affected all the source files. Before restarting, I was able to set breakpoints with ctrl-shift-F8 and sometimes with F8. It was the first run of the IDE after imprting settings from nb 6.9.1. If I'm able to reproduce it, I'll let you know. Thank you!
Thanks for the into. If this happens again, please try to find some conditions under which it occurs. Perhaps NetBeans were busy with some updates of the projects after the import settings and thus some actions were slowed down...
It is happening again with build 201011180001, and also this time it is the first run of the ide with settings imported from 6.9.1. It has been running for a few hours, so the import activities should be complete. All the badges and hints are shown correctly, and I've been able to set other breakpoints before it stopped working. I can set method and class breakpoints via mouse click, but not line breakpoints. Ctrl-F8 is not working at all (can't set method and class breakpoints) but ctrl-shift-f8 allows me to set any kind of breakpoint.
Created attachment 103065 [details] messages.log The log file seems to contain some information related to this issue. The four lines after 48715 were logged while I was watching it (after the breakpoints stopped working), while the following DataObjectNotFoundException happened a few minutes later.
Created attachment 103066 [details] Thread dump
Thank you for the messages.log file. Can you please let us know whether the file in question /home/aldo/develop/teko/omc-main/omc-snmp/src/com/imavis/omc/snmp/agent/SnmpTrapSendingListener.java is valid and exists on disk? NetBeans filesystems mark it as invalid, therefore debugger can not work with it and therefore breakpoint annotations do not appear.
It is does exist on disk, and it is one of the source files where I was trying to set the breakpoints. However, it may have disappeared temporarily: I use mercurial queues, so I may have popped from the patch queue the patch which adds this file. Of course when I started debugging it had been pushed again. I didn't have this problem with previous versions of nb.