LazDebuggerFp: Fix endless loop, in stack supplier.

git-svn-id: trunk@64319 -
This commit is contained in:
martin 2021-01-03 01:37:56 +00:00
parent b8b3de002a
commit bc73f7750f

View File

@ -2270,8 +2270,10 @@ begin
then It.Next;
if not FpDebugger.IsPausedAndValid then begin
while (not IT.EOM) and (TCallStackEntry(It.DataPtr^).Index <= ACallstack.HighestUnknown) do
while (not IT.EOM) and (TCallStackEntry(It.DataPtr^).Index <= ACallstack.HighestUnknown) do begin
TCallStackEntry(It.DataPtr^).Validity := ddsInvalid;
IT.Next;
end;
It.Free;
exit;
end;