Commits

Anonymous committed e4632dc

putting an assert in debug mode (cobra contracts looks nicer BTW)

Comments (0)

Files changed (1)

 
         private void RefreshAppDomains()
         {
+            System.Diagnostics.Debug.Assert(controller.Attached,"can't refresh appdomains if not attached"); // occurs when clicking refresh on the app domain tab without attaching a process up front
             this.tabControlMain.SelectTab(this.tabPageAppDomain);
 
             this.listViewAppDomains.BeginUpdate();