Пример #1
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();
        }
Пример #2
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();
        }
Пример #3
0
 private void exit_Click(object sender, EventArgs e)
 {
     DebuggerServer.Exit();
 }