Summary: | Workspace source locator fails with mulitple package fragments | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Darin Wright <darin.eclipse> |
Component: | Debug | Assignee: | Martin Aeschlimann <martinae> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P1 | CC: | jerome_lanneluc, martinae |
Version: | 2.0 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
Darin Wright
2001-10-19 13:41:25 EDT
The workspace source locator is deprecated. Martin, should the Eclipse launcher be using the ProjectSourceLocator instead? We should have a SourceLocator taking an array of projects (ordered). Fixed Please verify This was not fixed. The problem was not multiple fragments between different projects - the problem was > 1 fragment in the same project in different source folders/package fragment roots. Fixed again. The fix is not as efficient as it could be, but it should hold for now. The current implementation finds all package fragments in the workspace with a given name, and then searches for a type within the fragments. It would be better to do the search top down and bail on the first hit (to avoid searching for all package fragments). Sent patch to Jerome and Olivier. Please verify. It's worse than before: I don't see any source now. To reproduce: 1. Launch Eclipse using the Eclipse launcher under debug. 2. Suspend the main thread 3. Select the OS.WaitMessage() stack frame Observe: No source is displayed. Note my project's locations are all inside my workspace. The workspace source locator is not used anymore. Jerome confirmed (email) that it's working now. 11025 Verified. |