FpDebug: Fixed incorrect new length of FLocation array in TFpInternalBreakpoint.RemoveAddress

fix c1611124b4

(cherry picked from commit 16218b91f9)
This commit is contained in:
Sergey Larin 2020-05-15 13:27:12 +03:00 committed by Martin
parent a537a37dfe
commit 60f2d501c0

View File

@ -3134,7 +3134,7 @@ begin
if i < 0 then
exit;
FLocation[i] := FLocation[l];
SetLength(FLocation, l-1);
SetLength(FLocation, l);
FProcess.FBreakMap.RemoveLocotion(ALocation, Self);
end;