FpDebug: fix MaskBreakpointsInReadData. Don't remove non-set breakpoints

(cherry picked from commit 0922a747d7)
This commit is contained in:
Martin 2023-11-28 14:01:43 +01:00
parent 804ca7b377
commit 5501549f2a

View File

@ -1424,7 +1424,7 @@ var
Brk: TBreakLocationEntry;
begin
for Brk in Self do begin
if (Brk.Location >= AAdress) and (Brk.Location < (AAdress+ASize)) then
if (not Brk.ErrorSetting) and (Brk.Location >= AAdress) and (Brk.Location < (AAdress+ASize)) then
PByte(@AData)[Brk.Location-AAdress] := Brk.OrigValue;
end;
end;