mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-01 18:16:00 +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
|
||||
AResText := '{Type=} unknown';
|
||||
Result := True;
|
||||
AWatchValue.Value := AResText;
|
||||
AWatchValue.Validity := ddsValid; // TODO ddsError ?
|
||||
if AWatchValue <> nil then begin
|
||||
if not IsWatchValueAlive then exit;
|
||||
AWatchValue.Value := AResText;
|
||||
AWatchValue.Validity := ddsValid; // TODO ddsError ?
|
||||
end;
|
||||
exit;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user