public INativeBreakpoint CreateNativeBreakpoint(IDebuggerCode code, uint offset, Func <INativeBreakpoint, bool> cond) => dispatcher.UI(() => { if (code == null) { throw new ArgumentNullException(nameof(code)); } if (code.IsIL) { throw new ArgumentException("code is IL code, not native code"); } Debug.Assert(theDebugger.IsDebugging); if (!theDebugger.IsDebugging) { throw new InvalidOperationException(); } var bp = new NativeBreakpoint(this, (DebuggerCode)code, offset, cond); Initialize(bp); return(bp); });
public INativeBreakpoint CreateNativeBreakpoint(IDebuggerCode code, int offset, Func <INativeBreakpoint, bool> cond) => CreateNativeBreakpoint(code, (uint)offset, cond);
public INativeBreakpoint CreateNativeBreakpoint(IDebuggerCode code, int offset, Func<INativeBreakpoint, bool> cond) => CreateNativeBreakpoint(code, (uint)offset, cond);
public INativeBreakpoint CreateNativeBreakpoint(IDebuggerCode code, uint offset, Func<INativeBreakpoint, bool> cond) => dispatcher.UI(() => { if (code == null) throw new ArgumentNullException(nameof(code)); if (code.IsIL) throw new ArgumentException("code is IL code, not native code"); Debug.Assert(theDebugger.IsDebugging); if (!theDebugger.IsDebugging) throw new InvalidOperationException(); var bp = new NativeBreakpoint(this, (DebuggerCode)code, offset, cond); Initialize(bp); return bp; });