Exemplo 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;
 }
Exemplo n.º 2
0
		public void Initialize(DnDebugger dbg) {
			Debug.Assert(debugger.Dispatcher.CheckAccess());
			Debug.Assert(dbgBreakpoint == null);
			if (dbgBreakpoint != null)
				throw new InvalidOperationException();
			dbgBreakpoint = dbg.CreateBreakpoint(eventKind.ToDebugEventBreakpointKind(), HitHandler);
			dbgBreakpoint.IsEnabled = isEnabled;
			dbgBreakpoint.Tag = this;
		}