DBG: Update watch detail pane, when viewing snapshots

git-svn-id: trunk@38941 -
This commit is contained in:
martin 2012-10-02 01:08:14 +00:00
parent befc597806
commit a8550d383a

View File

@ -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;