mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-16 01:20:38 +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;
|
||||
end;
|
||||
|
||||
if not DoChangeFilename then exit;
|
||||
if not DoChangeFilename then begin
|
||||
SetDebuggerErrorState(synfFailedToLoadApplicationExecutable, FErrorMsg);
|
||||
exit;
|
||||
end;
|
||||
if not DoSetPascal then exit;
|
||||
|
||||
DebugLn(['TGDBMIDebugger.StartDebugging WorkingDir="', FTheDebugger.WorkingDir,'"']);
|
||||
|
||||
@ -78,6 +78,7 @@ resourcestring
|
||||
+'debugger will terminate';
|
||||
lisResponseContinue = 'Response: %sContinue ?';
|
||||
dlgGroupDebugger = 'Debugger';
|
||||
synfFailedToLoadApplicationExecutable = 'Failed to load application executable';
|
||||
|
||||
implementation
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user