mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 16:29:38 +02:00
FpDebug: accept PChar(nil) as string
git-svn-id: trunk@62025 -
This commit is contained in:
parent
51b18e32f4
commit
61e152cc7d
@ -2008,7 +2008,7 @@ begin
|
||||
|
||||
t := TypeInfo;
|
||||
if (t <> nil) then t := t.TypeInfo;
|
||||
if (t <> nil) and (t.Kind = skChar) and IsReadableMem(GetDerefAddress) then begin // pchar
|
||||
if (t <> nil) and (t.Kind = skChar) and IsValidLoc(GetDerefAddress) then begin // pchar
|
||||
if not t.ReadSize(nil, Size) then
|
||||
Size := ZeroSize;
|
||||
case Size.Size of
|
||||
|
Loading…
Reference in New Issue
Block a user