Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.php.debug.core/src/org/eclipse/php/internal/debug/core/pathmapper/DebugSearchEngine.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/org.eclipse.php.debug.core/src/org/eclipse/php/internal/debug/core/pathmapper/DebugSearchEngine.java b/plugins/org.eclipse.php.debug.core/src/org/eclipse/php/internal/debug/core/pathmapper/DebugSearchEngine.java
index 9d18850d8..6a0a77fef 100644
--- a/plugins/org.eclipse.php.debug.core/src/org/eclipse/php/internal/debug/core/pathmapper/DebugSearchEngine.java
+++ b/plugins/org.eclipse.php.debug.core/src/org/eclipse/php/internal/debug/core/pathmapper/DebugSearchEngine.java
@@ -205,7 +205,7 @@ public class DebugSearchEngine {
// get build paths of all projects
IScriptProject scriptProject = DLTKCore.create(project);
- if (scriptProject != null) {
+ if (scriptProject != null && scriptProject.isOpen()) {
try {
IBuildpathEntry[] rawBuildpath = scriptProject
.getRawBuildpath();

Back to the top