mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 00:59:25 +02:00
FpDebug: Fixed incorrect new length of FLocation array in TFpInternalBreakpoint.RemoveAddress
fixc1611124b4
(cherry picked from commit16218b91f9
)
This commit is contained in:
parent
a537a37dfe
commit
60f2d501c0
@ -3134,7 +3134,7 @@ begin
|
|||||||
if i < 0 then
|
if i < 0 then
|
||||||
exit;
|
exit;
|
||||||
FLocation[i] := FLocation[l];
|
FLocation[i] := FLocation[l];
|
||||||
SetLength(FLocation, l-1);
|
SetLength(FLocation, l);
|
||||||
FProcess.FBreakMap.RemoveLocotion(ALocation, Self);
|
FProcess.FBreakMap.RemoveLocotion(ALocation, Self);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user