private static void AssertIsBreakpoint(DebugEvent evt) { var exception = evt.As <ExceptionDetail>(); Assert.NotNull(exception); Assert.Equal(ExceptionReason.ExceptionBreakpoint, exception.Exception.Reason); }
private static void AssertIsSingleStep(DebugEvent evt) { var exception = evt.As <ExceptionDetail>(); Assert.NotNull(exception); Assert.Equal(ExceptionReason.ExceptionSingleStep, exception.Exception.Reason); }
private static void AssertIsNotSingleStep(DebugEvent evt) { var exception = evt.As <ExceptionDetail>(); if (exception == null) { return; } Assert.NotEqual(ExceptionReason.ExceptionSingleStep, exception.Exception.Reason); }