mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 23:30:22 +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
|
for i := 0 to FFileContents.Count-1 do
|
||||||
begin
|
begin
|
||||||
ACommand := FInOutputProcessor.TextToCommand(FFileContents.Strings[i]);
|
ACommand := FInOutputProcessor.TextToCommand(FFileContents.Strings[i]);
|
||||||
FDebugThread.QueueCommand(ACommand);
|
if assigned(ACommand) then
|
||||||
|
FDebugThread.QueueCommand(ACommand);
|
||||||
if Terminated then
|
if Terminated then
|
||||||
Break;
|
Break;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user