From 05d97a6e80ee938115a0f9390402632906c504b6 Mon Sep 17 00:00:00 2001 From: Andrew Gvozdev Date: Thu, 6 Dec 2012 17:02:51 -0500 Subject: [PATCH] Log exception when no program for launch is found. --- .../src/org/eclipse/cdt/core/CommandLauncher.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/CommandLauncher.java b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/CommandLauncher.java index fc4b097932c..a5e0555717e 100644 --- a/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/CommandLauncher.java +++ b/core/org.eclipse.cdt.core/src/org/eclipse/cdt/core/CommandLauncher.java @@ -190,6 +190,8 @@ public class CommandLauncher implements ICommandLauncher { fCommandArgs[0] = command; // to print original command on the console fErrorMessage = ""; //$NON-NLS-1$ } catch (IOException e) { + CCorePlugin.log(e); + if (isFound == null) { IPath location = PathUtil.findProgramLocation(command, envPathValue); isFound = location != null;