protected override void OnSelectPanelDebug(IPanelDebug pdbg)
        {
            m_RepaintOverlay.ClearOverlay();

            m_TreeViewContainer.hierarchyHasChanged = true;
            m_DebuggerSelection.panelDebug          = pdbg;

            Refresh();
        }
        protected override void OnSelectPanelDebug(IPanelDebug pdbg)
        {
            m_RepaintOverlay.ClearOverlay();

            m_TreeViewContainer.hierarchyHasChanged = true;
            if (m_DebuggerSelection.panelDebug?.debugContainer != null)
            {
                m_DebuggerSelection.panelDebug.debugContainer.generateVisualContent -= OnGenerateVisualContent;
            }

            m_DebuggerSelection.panelDebug = pdbg;

            if (panelDebug?.debugContainer != null)
            {
                panelDebug.debugContainer.generateVisualContent += OnGenerateVisualContent;
            }
        }