DBG: fixed an endless loop in watch eval (eval typecast pointer to record)

git-svn-id: trunk@39131 -
This commit is contained in:
martin 2012-10-18 16:38:51 +00:00
parent 1e0cb7d080
commit d9e86fb1d8

View File

@ -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);