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.
Beginning of action: Debugger already started, user issues Step Over command from menu, toolbar, or keyboard Initial feedback: Busy cursor or completion (or other feedback as appropriate, that says action was heard) Maximum time allowed: 100 ms Completion on an empty function: 200 ms (no busy cursor required) Maximum time allowed: Variable, proportionate to size of function
debugger.support.java.ToolTipAnnotation.getShortDescription() spends a lot of AWT time by updating editor tooltips (JPDAWatch.refreshValue()). Exec it asynchronously returning "Evaluating" replaced later by actual value? (how to notify editor about new value?) jpda.evaluator.Evaluator should use a thread pool (RequestProcessor). It spawns a temporary thread per step action.
Created attachment 7975 [details] Watch evaluation in AWT
What is the class debugger.support.util.RequestProcessor good for? What is its relation to openide.util.RequestProcessor?
Marian's measurement (time in milliseconds): conditions: - SUN UltraSparc60 / 512 MB RAM / Solaris 5.8 / CDE - JDK1.4.1(01) - [nb_dev](200211140100) , MDI - mounted sampledir run debugger Run to cursor (line 36 ColorPreview) and than Step Over 455 611 380 Test cases described on page : http://performance.netbeans.org/qa/TestSuites.html#step_over
Created attachment 8205 [details] Validator call elimination
What is validator for? It's called very often and this call is very expensive. It should be called conditionally, only if there are UI listeners attached to debugger model. Is above elimination in JavaThread correct? It is not the only call to validator :-(.
Evaluator ThreadPool implemented. It eliminates expensive Thread creation&start.
I have found another reason why stop over may be too slow. Please refer to issue 29560. My PC is slow (200MHz) and from all slow things I am used to, this is the most painful one.
Some imporvements of StepOver action planned for Nevada release.
*** Issue 27211 has been marked as a duplicate of this issue. ***
Validator fires events even if no Validator.Objects were added. It also validates Validator.Objects even if no listener is registered.
should be fixed in release35
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.