Merge branch 'fpdebug-breakpoint-removeaddress-fix' into 'main'

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

See merge request freepascal.org/lazarus/lazarus!26
This commit is contained in:
Martin 2021-10-21 13:43:43 +00:00
commit 57d356a2a2

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;