FpDebug: Fix type-declaration in watches for function refs

git-svn-id: trunk@61723 -
This commit is contained in:
martin 2019-08-18 13:43:47 +00:00
parent 5a7c9f1487
commit 6a6c02491f

View File

@ -100,7 +100,9 @@ begin
Result := ADbgSymbol <> nil;
if not Result then
exit;
if ADbgSymbol.SymbolType = stValue then begin
if (ADbgSymbol.SymbolType = stValue) and
not((ADbgSymbol.Kind = skProcedure) or (ADbgSymbol.Kind = skFunction))
then begin
ADbgSymbol := ADbgSymbol.TypeInfo;
Result := ADbgSymbol <> nil;
if not Result then