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.
I've got strange problem - I have zero number of breakpoints (empty list in Breakpoints window), but my debugger keeps breaking on some particular lines. I've noticed that when I attach debugger to java process following lines appear in "Output - Debugger console": LineBreakpoint MyClass.java : 809 successfully submitted. LineBreakpoint MyClass.java : 754 successfully submitted. These lines are clickable and when I click them, NetBeans opens sources files from projects that have been open some time ago in another Project Group (actually - currently loaded project and another one are the same, but of different version of sources in different folders). But current these project as well as that Project Group is closed. Moreover - this behavior persists between restarting of IDE. I feel Netbeans does not properly separate different project groups.
Can you please attach your $HOME/.netbeans/dev/config/Services/org-netbeans-modules-debugger-Settings.properties file here? What kind of project groups are that? Free Group or Project and All Required Projects? I cannot reproduce the problem in latest development build #201409160001.
I've cleaned my project groups already to be able to work (debugging was not possible otherwise). At the moment I also cannot reproduce that problem artificially. Regrading questions: Q:> What kind of project groups are that? Free Group or Project and All Required Projects? A:> I always create an empty Free Group, then open root MAVEN project, then Open All Required Projects So, next time I get into that same problem I should look into org-netbeans-modules-debugger-Settings.properties? Or something else can be useful too?
I see. Yes, the aforementioned .properties file would be great and maybe also full output of the Debugger Console. Thanks for quick response.
Closing as WORKSFORME now. If you happen to encounter this bug again, don't hesitate to reopen it with further details. Thank you.
This is similar to issue #198764. I intended to fix this into NetBeans 8.0.1, but I had problems to reproduce the wrong behavior. Some steps to reproduce from scratch (empty user directory) are welcomed.
So ... I've got it once again ... Steps to reproduce (actually - not steps "from scratch" but rather "steps i remember that may relate to this issue") 1. Created new project group 2. Added two root MAVEN projects 3. Attached debugger to running process ... 4. ... stopped on breakpoint in source code that does not belong to any of currently open projects ... 5. ... but this source code belongs to MAVEN modules referenced as dependencies in opened projects ... I think the key point here is #5 and I guess the actual problem is - a) "BreakPoint does stop the execution" (and probably this is OK) but b) it is not displayed in the Breakpoints window - so there is no way to remove it via Netbeans user interface (that is the problem). >>> Excerpt for one of the breakpoints from "org-netbeans-modules-debugger-Settings.properties" (real paths are truncated) debugger.breakpoints.jpda.3:# org.netbeans.api.debugger.jpda.LineBreakpoint$LineBreakpointImpl debugger.breakpoints.jpda.3.breakpointType:3 debugger.breakpoints.jpda.3.catchType:3 debugger.breakpoints.jpda.3.classExclusionFilters:# array debugger.breakpoints.jpda.3.classExclusionFilters.array_type:java.lang.String debugger.breakpoints.jpda.3.classExclusionFilters.length:0 debugger.breakpoints.jpda.3.classFilters:# array debugger.breakpoints.jpda.3.classFilters.array_type:java.lang.String debugger.breakpoints.jpda.3.classFilters.length:0 debugger.breakpoints.jpda.3.className:"com. ... .LDAPSyncJob" debugger.breakpoints.jpda.3.condition:"" debugger.breakpoints.jpda.3.enabled:true debugger.breakpoints.jpda.3.exceptionClassName:"java.lang.Exception" debugger.breakpoints.jpda.3.fieldName:"EmptyArgs" debugger.breakpoints.jpda.3.groupName:"" debugger.breakpoints.jpda.3.hitCountFilter:0 debugger.breakpoints.jpda.3.hitCountFilter_style:0 debugger.breakpoints.jpda.3.lineNumber:119 debugger.breakpoints.jpda.3.printText:"Breakpoint hit at line {lineNumber} in class {className} by thread {threadName}." debugger.breakpoints.jpda.3.suspend:2 debugger.breakpoints.jpda.3.url:"file:/C:/.../LDAPSyncJob.java" >>> The only appearence of "LDAPSyncJob" in IDE log is 6 occurrences of these two lines Source path "com\...\LDAPSyncJob.java" was not found. The reason is likely no opened project with this source file.
The submitted breakpoints are now visible in Breakpoints view regardless on opened projects: changeset: 289992:cce3c84ecae2 http://hg.netbeans.org/core-main/rev/cce3c84ecae2
Integrated into 'main-silver', will be available in build *201507230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/cce3c84ecae2 User: mentlicher@netbeans.org Log: #247240: Show submitted breakpoints in Breakpoints view.