mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 16:39:15 +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
|
begin
|
||||||
for Brk in FBreakMap do begin
|
for Brk in FBreakMap do begin
|
||||||
if (Brk.Location >= AAdress) and (Brk.Location < (AAdress+ASize)) then
|
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;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user