Example #1
0
 private void mnuResetWorkspace_Click(object sender, EventArgs e)
 {
     if (MessageBox.Show("This operation will empty the watch window, remove all breakpoints, and reset labels to their default state." + Environment.NewLine + "Are you sure?", "", MessageBoxButtons.OKCancel, MessageBoxIcon.Warning) == DialogResult.OK)
     {
         DebugWorkspaceManager.ResetWorkspace();
         LabelManager.ResetLabels();
         UpdateWorkspace();
         UpdateDebugger(false);
     }
 }