mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 00:02:50 +02:00
FpDebug: Fix RangeCheck, TByteArray has an upper limit of 32k.
This commit is contained in:
parent
2843627279
commit
27f4c50dbd
@ -2607,7 +2607,7 @@ var
|
||||
begin
|
||||
for Brk in FBreakMap do begin
|
||||
if (Brk.Location >= AAdress) and (Brk.Location < (AAdress+ASize)) then
|
||||
TByteArray(AData)[Brk.Location-AAdress] := Brk.OrigValue;
|
||||
PByte(@AData)[Brk.Location-AAdress] := Brk.OrigValue;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user