IdeDebugger: fix slow display of nested watch, due to recursive check O(2^n) Issue #40944

(cherry picked from commit f1cd54dbdd)
This commit is contained in:
Martin 2024-05-04 10:40:44 +02:00
parent 137a1438a7
commit 7332c13cfe

View File

@ -6686,8 +6686,7 @@ begin
if Result then
exit;
Result := (GetAnyValidParentWatchValue(AThreadId, AStackFrame) <> nil) and
FParentWatch.HasAllValidParents(AThreadId, AStackFrame);
Result := (GetAnyValidParentWatchValue(AThreadId, AStackFrame) <> nil);
end;
procedure TIdeWatch.DoEnableChange;