Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 181994

Summary: Change to PDE UI can improve debug performance
Product: [Eclipse Project] PDE Reporter: Curtis Windatt <curtis.windatt.public>
Component: UIAssignee: PDE-UI-Inbox <pde-ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.3   
Target Milestone: 3.3 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
PDE Patch none

Description Curtis Windatt CLA 2007-04-11 14:44:31 EDT
See Bug 148965 for full details of performance issue.

The PDESourceLookupDirector runs a faster source lookup than the AbstractSourceLookupDirector if there are a numerous plugin projects in the workspace.  The PDE director is currently only used for source lookup when a stack frame is selected (lookup on IJavaStackFrame).  However, source lookup also occurs when evaluating detail formatters (lookup on IJavaObject) and opening declared types (lookup on IJavaReferenceType).  It is not very difficult to extend the PDE director to handle these cases and doing so significantly reduces the time needed to populate the detail pane or open the source for the declared type.

I will attach a patch shortly.
Comment 1 Curtis Windatt CLA 2007-04-11 14:46:28 EDT
Created attachment 63530 [details]
PDE Patch

Patch extends PDESourceLookupDirector and PDESourceLookupQuery to handle IJavaObjects and IJavaReferenceTypes.
Comment 2 Wassim Melhem CLA 2007-04-12 01:05:40 EDT
Patch applied.  Thanks Curtis W.