mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 06:39:12 +02:00
FpDebug: fix MaskBreakpointsInReadData. Don't remove non-set breakpoints
This commit is contained in:
parent
55475340ca
commit
0922a747d7
@ -1469,7 +1469,7 @@ var
|
|||||||
Brk: TBreakLocationEntry;
|
Brk: TBreakLocationEntry;
|
||||||
begin
|
begin
|
||||||
for Brk in Self do 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;
|
PByte(@AData)[Brk.Location-AAdress] := Brk.OrigValue;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user