Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorKen Ryall2008-04-21 20:47:09 +0000
committerKen Ryall2008-04-21 20:47:09 +0000
commitee5837ec2926f48e5d4b09f320c67f729ed6a496 (patch)
treee27e7a8212f078be6fc9fe73bb29305974e3e6ad /debug
parentdb11eb72ae1cf67598470e9c81c8ac8279959da0 (diff)
downloadorg.eclipse.cdt-ee5837ec2926f48e5d4b09f320c67f729ed6a496.tar.gz
org.eclipse.cdt-ee5837ec2926f48e5d4b09f320c67f729ed6a496.tar.xz
org.eclipse.cdt-ee5837ec2926f48e5d4b09f320c67f729ed6a496.zip
Test to see if the file exists before creating the ETU.
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/MapEntrySourceContainer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/MapEntrySourceContainer.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/MapEntrySourceContainer.java
index f4333eb4c9..e4cb05c00a 100644
--- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/MapEntrySourceContainer.java
+++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/sourcelookup/MapEntrySourceContainer.java
@@ -87,7 +87,7 @@ public class MapEntrySourceContainer extends AbstractSourceContainer {
// The file is not already in the workspace so try to create an external translation unit for it.
ISourceLookupDirector director = getDirector();
- if (director != null)
+ if (director != null && file.exists() && file.isFile() )
{
ILaunchConfiguration launchConfiguration = director.getLaunchConfiguration();
if (launchConfiguration != null)

Back to the top