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 if Result then
exit; exit;
Result := (GetAnyValidParentWatchValue(AThreadId, AStackFrame) <> nil) and Result := (GetAnyValidParentWatchValue(AThreadId, AStackFrame) <> nil);
FParentWatch.HasAllValidParents(AThreadId, AStackFrame);
end; end;
procedure TIdeWatch.DoEnableChange; procedure TIdeWatch.DoEnableChange;