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(); }
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(); }
private void insertBreakPoint_Click(object sender, EventArgs e) { DebuggerServer.InsertBreakpoint(source.Text, (int)lineNumber.Value); }
private void stepout_Click(object sender, EventArgs e) { DebuggerServer.StepOut(); }
private void stepin_Click(object sender, EventArgs e) { DebuggerServer.StepIn(); }
private void go_Click(object sender, EventArgs e) { DebuggerServer.Go(); }
private void pause_Click(object sender, EventArgs e) { DebuggerServer.Break(); }
private void exit_Click(object sender, EventArgs e) { DebuggerServer.Exit(); }