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.
Please make the debugger work at least a bit. Whenever I try to use the new debugging window, I need to kill the IDE.
Created attachment 63604 [details] thread dump
It seems that refresh of Debugging View is slow and occupies awt thread too much - needs to be optimized.
We have been able to reproduce similar problem while debugging many threads (over 100) then, the response was really slow. For now we are downgrading this to P2.
*** Issue 137827 has been marked as a duplicate of this issue. ***
> (over 100) Debugging NetBeans in NetBeans, e.g. now I have 19 threads. And sometime it seems impossible to get rid of (close) the Debugging View. Happens always when I forgot to close Debugging View immediately after debugging session starts up. Once I forgot I usually have to kill the IDE. Is there any trick how disable the Debugging View temporarily?
Seems to work for me OK in latest trunk. FYI....
*** Issue 141658 has been marked as a duplicate of this issue. ***
I have this problem when debugging an enterprise application. I set a couple of break points, one in the web application, one in the ejb application. I right click the enterprise application and select debug. The project runs in debug mode, but the IDE goes to 100% CPU and stays there. The IDE window no longer updates (or at least it is REALLY slow and won't update in less than 30 seconds). If I stop Glassfish (which ends the debug session) the IDE is normal (the window refreshes and is no longer consuming 100% CPU). I'm using: Product Version: NetBeans IDE Dev (Build 200807281401) Java: 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Userdir: C:\Documents and Settings\donk\.netbeans\dev I'll attach two thread dumps.
Created attachment 65857 [details] stack trace number 1
Created attachment 65858 [details] thread dump
Fixed. changeset a612f35a1ee5 in main details: http://hg.netbeans.org/main?cmd=changeset;node=a612f35a1ee5
Integrated into 'main-golden', available in build *200808040201* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/a612f35a1ee5 User: Daniel Prusa <dprusa@netbeans.org> Log: #138496: Debugging View refresh optimized
Reproducible again for last few (at least two) days. Attaching threaddump during the 100% CPU usage. Fresh build from this morning: Product Version: NetBeans IDE Dev (Build 080812) Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14 System: Linux version 2.6.24-19-generic running on i386; UTF-8; en_US (nb)
Created attachment 67134 [details] threaddump-100cpu.txt
Now it seems like a different problem. CPU is consumed by changes in nodes not by Debugging View repaint (stripes on the left, suspend/resume icons on the right). ... at org.openide.nodes.Node.fireShortDescriptionChange(Node.java:1000) at org.netbeans.modules.viewmodel.TreeModelNode.refresh(TreeModelNode.java:354)
I've reopened wrt. to the user's point of view - exactly the same issue. Let me now if you want me to file separate request somewhere else.
No, it is ok, we will track it here. It was just an evaluation, not a complaint that you have reopened the issue ;-)
Debugging View performance seems to be ok in recent builds. Martin agreed to close this issue.
debugger seems to work fine verifying
Problem is there again with Netbeans 7.2 release. Maybe it is time to add a regression test.
(In reply to comment #20) > Problem is there again with Netbeans 7.2 release. Maybe it is time to add a > regression test. can you please attach the .nps so that it can be evaluated?
Can you please submit a new issue with a slowness report attached? There were certainly big code changes between 6.5 and 7.2, therefore it's likely a different problem. Please provide the slowness report so that we can evaluate where the problem is.
how do I create a slowness report?
The easiest way is to use the self-profiling feature: http://wiki.netbeans.org/FaqProfileMeNow