Пример #1
0
        private void start_Click(object sender, EventArgs e)
        {
            if (DebuggerServer.IsRunning)
            {
                DebuggerServer.Exit();
            }
            else
            {
                if (!string.IsNullOrEmpty(appName.Text))
                {
                    DebuggerServer.Start();
                    DebuggerServer.Run(appName.Text, appArgs.Text);
                }
            }

            RefreshDebuggingState();
        }
Пример #2
0
        private void attach_Click(object sender, EventArgs e)
        {
            if (DebuggerServer.IsRunning)
            {
                DebuggerServer.Exit();
            }
            else
            {
                if (!string.IsNullOrEmpty(procId.Text))
                {
                    DebuggerServer.Start();
                    DebuggerServer.Attach(procId.Text);
                }
            }

            RefreshDebuggingState();
        }
Пример #3
0
 private void insertBreakPoint_Click(object sender, EventArgs e)
 {
     DebuggerServer.InsertBreakpoint(source.Text, (int)lineNumber.Value);
 }
Пример #4
0
 private void stepout_Click(object sender, EventArgs e)
 {
     DebuggerServer.StepOut();
 }
Пример #5
0
 private void stepin_Click(object sender, EventArgs e)
 {
     DebuggerServer.StepIn();
 }
Пример #6
0
 private void go_Click(object sender, EventArgs e)
 {
     DebuggerServer.Go();
 }
Пример #7
0
 private void pause_Click(object sender, EventArgs e)
 {
     DebuggerServer.Break();
 }
Пример #8
0
 private void exit_Click(object sender, EventArgs e)
 {
     DebuggerServer.Exit();
 }