FpDebug: Do not continue the process after an invalid command

git-svn-id: trunk@44863 -
This commit is contained in:
joost 2014-04-30 20:59:12 +00:00
parent e7779bd476
commit 580048e97c

View File

@ -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;