mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 04:19:19 +02:00
LazDebuggerFp: return typeinfo for watches
git-svn-id: trunk@59558 -
This commit is contained in:
parent
e1a6096d71
commit
f275a9445c
@ -1402,7 +1402,11 @@ begin
|
||||
if AWatchValue <> nil then
|
||||
begin
|
||||
AWatchValue.Value := AResText; //IntToStr(APasExpr.ResultValue.AsInteger);
|
||||
AWatchValue.Validity := ddsValid;
|
||||
AWatchValue.TypeInfo := ATypeInfo;
|
||||
if IsError(ResValue.LastError) then
|
||||
AWatchValue.Validity := ddsError
|
||||
else
|
||||
AWatchValue.Validity := ddsValid;
|
||||
end;
|
||||
end
|
||||
else
|
||||
@ -1410,6 +1414,7 @@ begin
|
||||
AResText := 'Error';
|
||||
if AWatchValue <> nil then
|
||||
AWatchValue.Validity := ddsInvalid;
|
||||
FreeAndNil(ATypeInfo);
|
||||
end;
|
||||
end;
|
||||
finally
|
||||
@ -1485,7 +1490,6 @@ begin
|
||||
WatchValue.RemoveFreeNotification(@DoWatchFreed);
|
||||
|
||||
EvaluateExpression(WatchValue, WatchValue.Expression, AVal, AType);
|
||||
AType.Free;
|
||||
|
||||
if (not FWatchAsyncQueued) and (FWatchEvalList.Count > 0) then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user