1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-06 09:16:02 +02:00

[299583] The common source lookup director in a fresh workspace is ineffective

This commit is contained in:
John Cortell 2010-01-13 23:57:30 +00:00
parent 27f0a6d064
commit 9cdd4e1d07

View file

@ -354,6 +354,11 @@ public class CDebugCorePlugin extends Plugin {
fCommonSourceLookupDirector = new CommonSourceLookupDirector();
String newMemento = CDebugCorePlugin.getDefault().getPluginPreferences().getString( ICDebugInternalConstants.PREF_COMMON_SOURCE_CONTAINERS );
if ( newMemento.length() == 0 ) {
// Add the participant(s). This happens as part of
// initializeFromMemento(), but since we're not calling it, we
// need to do this explicitly. See 299583.
fCommonSourceLookupDirector.initializeParticipants();
// Convert source locations to source containers
convertSourceLocations( fCommonSourceLookupDirector );
}