mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-09 15:37:25 +01:00
IDE: debugger: check if exe is there only if HasExePath
git-svn-id: trunk@46912 -
This commit is contained in:
parent
ebff935f10
commit
4c878ad87d
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user