1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Test to see if the file exists before creating the ETU.

This commit is contained in:
Ken Ryall 2008-04-21 20:47:09 +00:00
parent db11eb72ae
commit ee5837ec29

View file

@ -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)