mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-17 05:20:48 +01:00
GDBMI debugger, check result of SetFileName. Issue #0027431
git-svn-id: trunk@47671 -
This commit is contained in:
parent
665a2f6b95
commit
1c640605a8
@ -5190,7 +5190,10 @@ begin
|
|||||||
Exit;
|
Exit;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
if not DoChangeFilename then exit;
|
if not DoChangeFilename then begin
|
||||||
|
SetDebuggerErrorState(synfFailedToLoadApplicationExecutable, FErrorMsg);
|
||||||
|
exit;
|
||||||
|
end;
|
||||||
if not DoSetPascal then exit;
|
if not DoSetPascal then exit;
|
||||||
|
|
||||||
DebugLn(['TGDBMIDebugger.StartDebugging WorkingDir="', FTheDebugger.WorkingDir,'"']);
|
DebugLn(['TGDBMIDebugger.StartDebugging WorkingDir="', FTheDebugger.WorkingDir,'"']);
|
||||||
|
|||||||
@ -78,6 +78,7 @@ resourcestring
|
|||||||
+'debugger will terminate';
|
+'debugger will terminate';
|
||||||
lisResponseContinue = 'Response: %sContinue ?';
|
lisResponseContinue = 'Response: %sContinue ?';
|
||||||
dlgGroupDebugger = 'Debugger';
|
dlgGroupDebugger = 'Debugger';
|
||||||
|
synfFailedToLoadApplicationExecutable = 'Failed to load application executable';
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user