mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 03:35:58 +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;
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user