| Summary: | Jump From StackTrace | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | gaofeng <xzgf2004> |
| Component: | Debug | Assignee: | Michael Rennie <Michael_Rennie> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | cocoakevin, xzgf2004 |
| Version: | 3.2 | ||
| Target Milestone: | 3.3 M1 | ||
| Hardware: | PC | ||
| OS: | Windows Server 2003 | ||
| Whiteboard: | |||
|
Description
gaofeng
Can you provide more details about the case that is slow? What does the trace look like? how big is your workspace? is it slow all the time, or just the first time? (In reply to comment #1) > Can you provide more details about the case that is slow? What does the trace > look like? how big is your workspace? is it slow all the time, or just the > first time? java.lang.NullPointerException at nc.ui.huarun.hua004.BudgetAnalyseUI.onCompuerTwice(BudgetAnalyseUI.java:454) at nc.ui.huarun.hua004.BudgetAnalyseUI.onButtonClicked(BudgetAnalyseUI.java:139) at nc.ui.pub.ToftPanel.handleButtonEvent(ToftPanel.java:148) at nc.ui.pub.FramePanel.dispatchButtonEvent(FramePanel.java:345) at nc.ui.pub.FramePanel.access$1(FramePanel.java:343) at nc.ui.pub.FramePanel$ButtonHandler.buttonClicked(FramePanel.java:55) at nc.ui.pub.ButtonBar.firePostEvent(ButtonBar.java:156) at nc.ui.pub.ButtonBar$1.run(ButtonBar.java:77) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189) at java.awt.EventQueue.dispatchEvent(EventQueue.java:478) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) this is the stack trace,when i click the onCompuerTwice function,it is very slow and jump into BudgetAnalyseUI.java:454.my workspace is very small ,only two projects. and it is slow all the time. Source lookup using the launch was failing because it was attempting to lookup a type name instead of a file name. As a result the OpenTypeAction was called to find the type and it iterates though all projects in the workspace which is potentially much slower. Fixed in JavaDebugUtils (made a utility method public), and JavaStackTraceHyperlink. Mike, pls verify verified ok |