mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-24 20:30:49 +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;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
//todo: this check depends on the debugger class
|
// check if debugger needs an Exe and the exe is there
|
||||||
if (NewDebuggerClass <> TProcessDebugger)
|
if (NewDebuggerClass.HasExePath)
|
||||||
and not FileIsExecutable(EnvironmentOptions.GetParsedDebuggerFilename)
|
and not FileIsExecutable(EnvironmentOptions.GetParsedDebuggerFilename)
|
||||||
then begin
|
then begin
|
||||||
if not PromptOnError then
|
if not PromptOnError then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user