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 get 100% cpu for a very long time when I hover the mousepointer above a variable which is a very large hashmap. The system is trying to create a tooltip from that variable. Because the hashmap is very large it takes a very, very long time before something happens. When it happens it is best to kill netbeans right away. There should be some limit on the size of the string that is shown with a tooltip.
Agreed, very annoying and IDE is really unusable. See attached thread-dump ...
Created attachment 59340 [details] thread-dump
This is mainly a swing problem, JTextArea is not able to compute it's preferred size! We can limit the length of String provided for tooltip, it will prevent from transfer of large amount of data from the debugee.
We truncate the string for tooltip: changeset: 76767:49a96a93cb8e http://hg.netbeans.org/main/rev/49a96a93cb8e
Verified. Tested on NB 6.1 RC build 200804082140 As the tooltip String length is limited, there is almost no impact on performance.