Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorJohn Cortell2010-01-13 23:57:30 +0000
committerJohn Cortell2010-01-13 23:57:30 +0000
commit9cdd4e1d074f21873cd79a48b8b51ea29b0c485c (patch)
treea43a50ff50d0ea820a4b9190a49b14c9a606c773 /debug
parent27f0a6d06444fb6ff2f3bc82424c075ba5dce3b0 (diff)
downloadorg.eclipse.cdt-9cdd4e1d074f21873cd79a48b8b51ea29b0c485c.tar.gz
org.eclipse.cdt-9cdd4e1d074f21873cd79a48b8b51ea29b0c485c.tar.xz
org.eclipse.cdt-9cdd4e1d074f21873cd79a48b8b51ea29b0c485c.zip
[299583] The common source lookup director in a fresh workspace is ineffective
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugCorePlugin.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugCorePlugin.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugCorePlugin.java
index d0fd7b73d68..b836bddb2f0 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugCorePlugin.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/CDebugCorePlugin.java
@@ -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 );
}

Back to the top