mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 05:30:59 +02:00
FpDebug: fix MaskBreakpointsInReadData. Don't remove non-set breakpoints
(cherry picked from commit 0922a747d7
)
This commit is contained in:
parent
804ca7b377
commit
5501549f2a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user