public bool BreakAndInterceptHandledException(Debugger.Exception exception) { if (!debuggedProcess.SelectedThread.InterceptException(exception)) { MessageService.ShowError("${res:MainWindow.Windows.Debug.ExceptionForm.Error.CannotInterceptHandledException}"); return(false); } JumpToCurrentLine(); return(true); }
public static void Show(Process process, string title, string message, string stacktrace, Bitmap icon, bool isUnhandled, Debugger.Exception exception) { DebuggeeExceptionForm form = new DebuggeeExceptionForm(process); form.Text = title; form.pictureBox.Image = icon; form.lblExceptionText.Text = message; form.exceptionView.Text = stacktrace; form.isUnhandled = isUnhandled; form.btnContinue.Enabled = !isUnhandled; form.Exception = exception; form.Show(WorkbenchSingleton.MainWin32Window); }
public ExceptionEventArgs(Process process, Exception exception, ExceptionType exceptionType, bool isUnhandled):base(process) { this.exception = exception; this.exceptionType = exceptionType; this.isUnhandled = isUnhandled; }