示例#1
0
 public abstract DbgBreakpointLocationFormatterImpl Create(DbgDotNetCodeLocation location);
示例#2
0
 public override DbgBreakpointLocationFormatterImpl Create(DbgDotNetCodeLocation location) =>
 new DbgBreakpointLocationFormatterImpl(this, (DbgDotNetCodeLocationImpl)location);
示例#3
0
 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);
     }
 }