| Summary: | PDE should automatically locate source for external plug-ins during debugging | ||
|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Wassim Melhem <wassim.melhem> |
| Component: | UI | Assignee: | PDE-UI-Inbox <pde-ui-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | darin.eclipse, jeffmcaffer, jerome_lanneluc |
| Version: | 3.0 | ||
| Target Milestone: | 3.0 M9 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Wassim Melhem
Solution #2 is only possible, of course, if the debugger is able to give us enough information about the class in the frame to trace the plug-in where it is coming from. This information could be as simple as what JAR the class is coming from. I'm using the word simple loosely. DarinW is the best person to judge how easy it would be to provide such information. In Darin we trust :-) Good capture of the issues. Note that I am currently doing number 1 and it does not work as is. I have added my entire target to the java search path and I still do not get any source. I have to laboriously search for and add the source jars individually as the debugger cannot find them an prompts me. I have not looked into yet. But my conjecture is that it does not work as-is now, because when PDE is computing the source lookup locations for the debugger, we only use plug-in projects (ie. ones with plugin.xm/fragment.xml/manifest.mf). So the fake Java project is being ignored. This aspect will be fixed. *** Bug 55641 has been marked as a duplicate of this bug. *** The "External Plug-in Libraries" project is now added to the source lookup. So people who use the Add to Java Search functionality would have their source found, and the source prompt dialog will not pop up. The JDT/Text seems to have fixed the ruler issue. Breakpoints can now be set in these external JARs. |