mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-16 00:00:49 +01:00
DBG: Update watch detail pane, when viewing snapshots
git-svn-id: trunk@38941 -
This commit is contained in:
parent
befc597806
commit
a8550d383a
@ -352,6 +352,7 @@ begin
|
||||
actAddWatchPoint.Enabled := False;
|
||||
actEvaluate.Enabled := False;
|
||||
actInspect.Enabled := False;
|
||||
UpdateInspectPane;
|
||||
exit;
|
||||
end;
|
||||
|
||||
@ -911,6 +912,8 @@ begin
|
||||
then WatchAdd(ASender, AWatch)
|
||||
else UpdateItem(Item, AWatch);
|
||||
|
||||
// TODO: if AWatch <> Selected, then prevent UpdateInspectPane
|
||||
// Selected may update later, and calling UpdateInspectPane will schedule an unsucesful attemptn to fetch data
|
||||
if not FUpdatingAll
|
||||
then lvWatchesSelectItem(nil, nil, False);
|
||||
finally DebugLnExit(DBG_DATA_MONITORS, ['DebugDataWindow: TWatchesDlg.WatchUpdate']); end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user