mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-18 07:29:30 +02:00
DBG: fixed an endless loop in watch eval (eval typecast pointer to record)
git-svn-id: trunk@39131 -
This commit is contained in:
parent
1e0cb7d080
commit
d9e86fb1d8
@ -1394,12 +1394,19 @@ begin
|
||||
exit;
|
||||
end;
|
||||
|
||||
if FPTypeReq.Result.Kind = ptprkRecord then begin // Includes pointer to array
|
||||
FTypeCastFixFlag := tcfNoFixNeeded; // TODO: Maybe it is needed?
|
||||
FIsTypeCast := True;
|
||||
exit;
|
||||
end;
|
||||
|
||||
if FPTypeReq.Result.Kind in [ptprkProcedure, ptprkFunction] then begin
|
||||
FTypeCastFixFlag := tcfNoFixNeeded;
|
||||
FIsFunction := True;
|
||||
exit;
|
||||
end;
|
||||
|
||||
FTypeCastFixFlag := tcfNoFixNeeded;
|
||||
end;
|
||||
|
||||
constructor TGDBExpressionPartCastCall.Create(ALeadExpresion: TGDBExpressionPart);
|
||||
|
Loading…
Reference in New Issue
Block a user