mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-10-01 21:49:46 +02:00
DBG: Improved reaction speed during debugging (now watches evaluation can be stopped, if user wants to continue stepping/running)
git-svn-id: trunk@28763 -
This commit is contained in:
parent
0ab22c4b2d
commit
3fe0875dfb
@ -262,18 +262,23 @@ const
|
||||
{ TTestWatch }
|
||||
|
||||
procedure TTestWatch.DoChanged;
|
||||
var
|
||||
v: String;
|
||||
begin
|
||||
if FMaster = nil then exit;;
|
||||
if FMaster.Valid = vsValid then begin
|
||||
if FHasValue and (FValue <> FMaster.Value) then begin
|
||||
FHasMultiValue := True;
|
||||
FValue := FValue + LineEnding + FMaster.Value;
|
||||
end
|
||||
else
|
||||
FValue := FMaster.Value;
|
||||
FHasValue := True;
|
||||
if (FMaster.Valid = vsValid) then begin
|
||||
v := FMaster.Value;
|
||||
if v <> '<evaluating>' then begin // TODO: need better check
|
||||
if FHasValue and (FValue <> v) then begin
|
||||
FHasMultiValue := True;
|
||||
FValue := FValue + LineEnding + v;
|
||||
end
|
||||
else
|
||||
FValue := v;
|
||||
FHasValue := True;
|
||||
|
||||
FTypeInfo := Master.TypeInfo;
|
||||
FTypeInfo := Master.TypeInfo;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user