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 192015 - Cannot set breakpoints with the mouse
Summary: Cannot set breakpoints with the mouse
Status: RESOLVED INCOMPLETE
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-16 16:05 UTC by aldobrucale
Modified: 2010-11-19 14:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (3.49 MB, text/plain)
2010-11-18 11:54 UTC, aldobrucale
Details
Thread dump (14.95 KB, application/octet-stream)
2010-11-18 11:54 UTC, aldobrucale
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aldobrucale 2010-11-16 16:05:08 UTC
[ BUILD # : 201011160001 ]
[ JDK VERSION : 1.6.22 ]

Clicking on the left of the editor doesn't set/unset breakpoints
Comment 1 Martin Entlicher 2010-11-16 16:59:20 UTC
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?
Comment 2 aldobrucale 2010-11-16 17:11:16 UTC
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!
Comment 3 Martin Entlicher 2010-11-16 17:23:56 UTC
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...
Comment 4 aldobrucale 2010-11-18 11:42:43 UTC
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.
Comment 5 aldobrucale 2010-11-18 11:54:10 UTC
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.
Comment 6 aldobrucale 2010-11-18 11:54:49 UTC
Created attachment 103066 [details]
Thread dump
Comment 7 Martin Entlicher 2010-11-18 16:02:51 UTC
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.
Comment 8 aldobrucale 2010-11-19 14:16:27 UTC
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.