mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 13:00:31 +02:00
DBG: Fixed adding watches while debugger is running. Issue #0019354
git-svn-id: trunk@30725 -
This commit is contained in:
parent
f1171ce62f
commit
f4d0e31e1a
@ -5591,8 +5591,10 @@ end;
|
|||||||
|
|
||||||
function TWatches.Add(const AExpression: String): TWatch;
|
function TWatches.Add(const AExpression: String): TWatch;
|
||||||
begin
|
begin
|
||||||
|
BeginUpdate;
|
||||||
Result := TWatch(inherited Add);
|
Result := TWatch(inherited Add);
|
||||||
Result.Expression := AExpression;
|
Result.Expression := AExpression;
|
||||||
|
EndUpdate;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
constructor TWatches.Create(const AWatchClass: TBaseWatchClass);
|
constructor TWatches.Create(const AWatchClass: TBaseWatchClass);
|
||||||
|
Loading…
Reference in New Issue
Block a user