public abstract DbgBreakpointLocationFormatterImpl Create(DbgDotNetCodeLocation location);
public override DbgBreakpointLocationFormatterImpl Create(DbgDotNetCodeLocation location) => new DbgBreakpointLocationFormatterImpl(this, (DbgDotNetCodeLocationImpl)location);
void EnableBreakpointCore(DbgModule module, DmdMethodBase method, DbgEngineBoundCodeBreakpoint ebp, DbgDotNetCodeLocation location) { debuggerThread.VerifyAccess(); if (ebp.BoundCodeBreakpoint.IsClosed) { return; } using (TempBreak()) { var info = CreateBreakpoint(method.Module, location.Module, location.Token, location.Offset); if (!ebp.BoundCodeBreakpoint.TryGetData(out BoundBreakpointData bpData)) { Debug.Assert(ebp.BoundCodeBreakpoint.IsClosed); return; } Debug.Assert(bpData.Breakpoint == null); bpData.Breakpoint = info.bp; if (bpData.Breakpoint != null) { bpData.Breakpoint.Tag = bpData; } ebp.UpdateMessage(info.error); } }