public IILBreakpoint CreateBreakpoint(ModuleId module, uint token, uint offset, Func <IILBreakpoint, bool> cond) => dispatcher.UI(() => { var bp = new ILBreakpoint(this, module, token, offset, cond); if (theDebugger.IsDebugging) { Debug.Assert(breakpointsToInitialize.Count == 0); Initialize(bp); } else { breakpointsToInitialize.Add(bp); } return(bp); });
public IILBreakpoint CreateBreakpoint(ModuleId module, uint token, uint offset, Func<IILBreakpoint, bool> cond) => dispatcher.UI(() => { var bp = new ILBreakpoint(this, module, token, offset, cond); if (theDebugger.IsDebugging) { Debug.Assert(breakpointsToInitialize.Count == 0); Initialize(bp); } else breakpointsToInitialize.Add(bp); return bp; });