Beispiel #1
0
 public DbgBoundCodeBreakpointImpl(DbgRuntimeImpl runtime, DbgCodeBreakpoint breakpoint, DbgModule?module, ulong address, DbgBoundCodeBreakpointMessage message)
 {
     lockObj         = new object();
     this.runtime    = runtime ?? throw new ArgumentNullException(nameof(runtime));
     this.breakpoint = breakpoint ?? throw new ArgumentNullException(nameof(breakpoint));
     this.module     = module;
     this.address    = address;
     this.message    = message;
 }
Beispiel #2
0
        internal void UpdateMessage_DbgThread(DbgBoundCodeBreakpointMessage message)
        {
            Dispatcher.VerifyAccess();
            bool raiseEvent;

            lock (lockObj) {
                raiseEvent   = this.message != message;
                this.message = message;
            }
            if (raiseEvent)
            {
                OnPropertyChanged(nameof(Message));
            }
        }