Skip to main content
summaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorSergey Prigogin2010-12-16 13:03:42 -0500
committerSergey Prigogin2010-12-16 13:03:42 -0500
commitf8cb160e205e0088b2a16efd9aeaf605247b6e83 (patch)
tree2cf5b78dda98ad851faa6875b2a350b0ad266572 /debug
parentd1c831f3c23c2d22491074238a268db229027a4e (diff)
downloadorg.eclipse.cdt-f8cb160e205e0088b2a16efd9aeaf605247b6e83.tar.gz
org.eclipse.cdt-f8cb160e205e0088b2a16efd9aeaf605247b6e83.tar.xz
org.eclipse.cdt-f8cb160e205e0088b2a16efd9aeaf605247b6e83.zip
Added a missing condition.
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/sourcelookup/CProjectSourceContainer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/sourcelookup/CProjectSourceContainer.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/sourcelookup/CProjectSourceContainer.java
index 5e441153af..2f85324855 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/sourcelookup/CProjectSourceContainer.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/sourcelookup/CProjectSourceContainer.java
@@ -87,7 +87,7 @@ public class CProjectSourceContainer extends CompositeSourceContainer {
@Override
public void init(ISourceLookupDirector director) {
super.init(director);
- if (director != null) {
+ if (fProject == null && director != null) {
fProject = SourceUtils.getLaunchConfigurationProject(director);
if (fProject != null) {
fRootURI = fProject.getLocationURI();

Back to the top