public void CpuFailsOnHoldEventTimeout() { using (var _ = mem.Load(0x8000)) { _ .NOP("loop") .JMP_ABSOLUTE("loop"); } _cpu.MaxEventDuration = TimeSpan.FromSeconds(2); _cpuHoldEvent.Reset(); _cpuStepEvent.Set(); try { _cpu.Reset(TimeSpan.FromSeconds(30)); } catch (TimeoutException) { Assert.Pass(); } Assert.Fail(); }
public void Go() { _debuggerSyncEvent.Set(); _debuggerStepEvent.Set(); }