IDE: debugger: check if exe is there only if HasExePath

git-svn-id: trunk@46912 -
This commit is contained in:
mattias 2014-11-20 22:22:04 +00:00
parent ebff935f10
commit 4c878ad87d

View File

@ -2166,8 +2166,8 @@ begin
end;
end;
//todo: this check depends on the debugger class
if (NewDebuggerClass <> TProcessDebugger)
// check if debugger needs an Exe and the exe is there
if (NewDebuggerClass.HasExePath)
and not FileIsExecutable(EnvironmentOptions.GetParsedDebuggerFilename)
then begin
if not PromptOnError then