internal ExceptionInfoResponse HandleExceptionInfoRequest(ExceptionInfoArguments arguments) { if (this.PendingExceptionThread == arguments.ThreadId) { return(this.pendingException); } return(new ExceptionInfoResponse() { Description = "Sample Exception" }); }
protected override ExceptionInfoResponse HandleExceptionInfoRequest(ExceptionInfoArguments arguments) { try { if (session == null) { throw new InvalidOperationException(); } var exceptionInfo = session.GetExceptionInfo(); return(new ExceptionInfoResponse() { Description = exceptionInfo }); } catch (Exception ex) { Log(ex.Message, LogCategory.DebugAdapterOutput); throw new ProtocolException(ex.Message, ex); } }
protected override ExceptionInfoResponse HandleExceptionInfoRequest(ExceptionInfoArguments arguments) { return(this.ExceptionManager.HandleExceptionInfoRequest(arguments)); }
protected override ExceptionInfoResponse HandleExceptionInfoRequest(ExceptionInfoArguments arguments) { throw new ProtocolException("Not Implemented"); }