Ejemplo n.º 1
0
 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);
 }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
		public ExceptionEventArgs(Process process, Exception exception, ExceptionType exceptionType, bool isUnhandled):base(process)
		{
			this.exception = exception;
			this.exceptionType = exceptionType;
			this.isUnhandled = isUnhandled;
		}