mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-06 03:46:01 +02:00
FpGdbmiDebugger: fixed crash, accessing nil object
git-svn-id: trunk@45036 -
This commit is contained in:
parent
a2286d1c09
commit
1b1ec598f8
@ -1049,8 +1049,11 @@ DebugLn(FPGDBDBG_VERBOSE, [ErrorHandler.ErrorAsString(PasExpr.Error)]);
|
|||||||
else
|
else
|
||||||
AResText := '{Type=} unknown';
|
AResText := '{Type=} unknown';
|
||||||
Result := True;
|
Result := True;
|
||||||
AWatchValue.Value := AResText;
|
if AWatchValue <> nil then begin
|
||||||
AWatchValue.Validity := ddsValid; // TODO ddsError ?
|
if not IsWatchValueAlive then exit;
|
||||||
|
AWatchValue.Value := AResText;
|
||||||
|
AWatchValue.Validity := ddsValid; // TODO ddsError ?
|
||||||
|
end;
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user