mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 04:58:11 +02:00
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:
parent
137a1438a7
commit
7332c13cfe
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user