FpDebug: Fix stack-overflow for types with recursive declaration.

This commit is contained in:
Martin 2022-03-23 17:22:18 +01:00
parent a5e41cac33
commit c7e123fd8d

View File

@ -4439,6 +4439,8 @@ procedure TFpSymbolDwarfType.ResetValueBounds;
var var
ti: TFpSymbolDwarfType; ti: TFpSymbolDwarfType;
begin begin
if FNestedTypeInfo = nil then
exit;
ti := NestedTypeInfo; ti := NestedTypeInfo;
if (ti <> nil) then if (ti <> nil) then
ti.ResetValueBounds; ti.ResetValueBounds;