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.
It takes several seconds for the debugger to display a list of breakpoints, even if the list is very short (two breakpoints). I have about 15 projects opened, all of them being Maven projects (four WAR projects, the rest are J2SE projects). I have taken a screenshot of the callstack taken using the NetBeans self-profiling action but it got deleted soon due to bug #185688.
From the callstack, it seemed that the debugger builds the (Maven) project every time the list of breakpoints is about to be displayed.
System information: NetBeans 7.1 Dev (201110190600, i.e. post-beta), with updates JDK 6u29 64-bit Windows 7 Enterprise 64-bit Intel quad-core CPU
Debugger only checks if the breakpoints are in projects that are opened in NetBeans IDE. Debugger definitely does not initiate a build of the projects. Maybe that the build is triggered by the query? I'll try to reproduce...
It's a pity that the call stack is not attached. We only call ProjectManager.getDefault().findProject(FileObject) to find the associated project and p.getLookup().lookup(SubprojectProvider.class) to find the sub-projects. If this triggers the build, it's bad.
We'd need a profiler snapshot to see what's really happening there. http://wiki.netbeans.org/FaqProfileMeNow