Пример #1
0
        private void UpdateDataView()
        {
            if (Dataphoria.Debugger.IsStarted)
            {
                // Save old postion
                IRow old = null;
                if (FDebugProcessDataView.Active && !FDebugProcessDataView.IsEmpty())
                {
                    old = FDebugProcessDataView.ActiveRow;
                }

                // Update the selected process
                _selectedProcessIDParam.Value = _dataphoria.Debugger.SelectedProcessID;

                // Open the DataView
                FDebugProcessDataView.Open();

                // Attempt to seek to old position
                if (old != null)
                {
                    FDebugProcessDataView.Refresh(old);
                }
            }
            else
            {
                FDebugProcessDataView.Close();
            }
        }
Пример #2
0
 private void FDataphoria_Disconnected(object sender, EventArgs e)
 {
     FDebugProcessDataView.Close();
     FDebugProcessDataView.Session = null;
     DeinitializeParamGroup();
 }