| Summary: | Need an easy way to debug library provider priority issues | ||
|---|---|---|---|
| Product: | [WebTools] WTP Common Tools | Reporter: | Konstantin Komissarchik <konstantin> |
| Component: | Faceted Project Framework | Assignee: | Konstantin Komissarchik <konstantin> |
| Status: | CLOSED FIXED | QA Contact: | Konstantin Komissarchik <konstantin> |
| Severity: | enhancement | ||
| Priority: | P3 | Keywords: | plan |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows Vista | ||
| Whiteboard: | |||
|
Description
Konstantin Komissarchik
Added the following trace flag: org.eclipse.fproj.enablement.jdt/LibraryInstallDelegate/refresh Setting this trace flag to true, will cause the framework to dump information about providers in a given context after the priority sort has been performed (including every time a model change causes the list to be refreshed). Here is a sample output: LibraryInstallDelegate.refresh() : 5272169 : post sort # osgi-bundles-library-provider-fproj.samples.rand-1.0 : 200 user-library-provider-fproj.samples.rand : 100 # Providers are listed in priority order. Each provider priority is shown next to its id. On the first line, 5272169 is the hash code of the LibraryInstallDelegate instance, which is useful multiple instances are active in memory concurrently. Closing. |