Ejemplo n.º 1
0
 public void Initialize(DnDebugger dbg)
 {
     Debug.Assert(debugger.Dispatcher.CheckAccess());
     Debug.Assert(dbgBreakpoint == null);
     if (dbgBreakpoint != null)
     {
         throw new InvalidOperationException();
     }
     dbgBreakpoint           = dbg.CreateBreakpoint(module.ToSerializedDnModule(), token, offset, a => cond(this));
     dbgBreakpoint.IsEnabled = isEnabled;
     dbgBreakpoint.Tag       = this;
 }