mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-03 02:59:51 +01:00
FpDebug: Do not continue the process after an invalid command
git-svn-id: trunk@44863 -
This commit is contained in:
parent
e7779bd476
commit
580048e97c
@ -754,7 +754,11 @@ begin
|
||||
S := GetPart([], [' ', #9], ACommand);
|
||||
cmd := FindCommand(S);
|
||||
if cmd = nil
|
||||
then WriteLN('Unknown command: "', S, '"')
|
||||
then
|
||||
begin
|
||||
WriteLN('Unknown command: "', S, '"');
|
||||
CallProcessLoop:=false;
|
||||
end
|
||||
else cmd.Handler(Trim(ACommand), CallProcessLoop);
|
||||
end;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user