Debugger: fix watches to compile (without added defines)

This commit is contained in:
Martin 2022-01-25 22:00:49 +01:00
parent 5db70a399c
commit 947030b575

View File

@ -1028,7 +1028,7 @@ begin
else
tvWatches.NodeText[VNode, COL_WATCH_VALUE-1]:= '<not evaluated>';
if (DebugBoss.Debugger <> nil) and (DebugBoss.Debugger.State <> dsRun) and
if (DebugBoss <> nil) and (DebugBoss.State <> dsRun) and
(WatchValue <> nil) and (WatchValue.Validity <> ddsRequested)
then begin
TypInfo := WatchValue.TypeInfo;