mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-19 00:19:26 +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
|
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user