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

This commit is contained in:
Martin 2023-11-28 14:01:43 +01:00
parent 55475340ca
commit 0922a747d7

View File

@ -1469,7 +1469,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;