mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 15:19:35 +02:00
FpDebugServer: Fixed AV when a script contains an invalid command
git-svn-id: trunk@49178 -
This commit is contained in:
parent
5da6a444bf
commit
56ac4902c2
@ -43,7 +43,8 @@ begin
|
||||
for i := 0 to FFileContents.Count-1 do
|
||||
begin
|
||||
ACommand := FInOutputProcessor.TextToCommand(FFileContents.Strings[i]);
|
||||
FDebugThread.QueueCommand(ACommand);
|
||||
if assigned(ACommand) then
|
||||
FDebugThread.QueueCommand(ACommand);
|
||||
if Terminated then
|
||||
Break;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user