Exemplo n.º 1
0
 public DebuggerState(DebugCallbackEventArgs e, DnProcess process, DnAppDomain appDomain, DnThread thread)
 {
     EventArgs   = e;
     PauseStates = null;
     Process     = process;
     AppDomain   = appDomain;
     Thread      = thread;
 }
Exemplo n.º 2
0
 public DebuggerState(DebugCallbackEventArgs e, DnProcess process, DnAppDomain appDomain, DnThread thread)
 {
     this.EventArgs = e;
     this.StopStates = null;
     this.Process = process;
     this.AppDomain = appDomain;
     this.Thread = thread;
 }
Exemplo n.º 3
0
 public DebuggerState(DebugCallbackEventArgs e, DnProcess process, DnAppDomain appDomain, DnThread thread)
 {
     this.EventArgs   = e;
     this.PauseStates = null;
     this.Process     = process;
     this.AppDomain   = appDomain;
     this.Thread      = thread;
 }
Exemplo n.º 4
0
 public DebuggerThread(Debugger debugger, DBG.DnThread thread)
 {
     debugger.Dispatcher.VerifyAccess();
     this.debugger = debugger;
     this.thread   = thread;
     uniqueId      = thread.UniqueId;
     hashCode      = thread.GetHashCode();
 }
Exemplo n.º 5
0
		public ValueContext(ILocalsOwner localsOwner, CorFrame frame, DnThread thread) {
			this.LocalsOwner = localsOwner;
			this.Thread = thread;
			this.Process = thread.Process;

			// Read everything immediately since the frame will be neutered when Continue() is called
			this.FrameCouldBeNeutered = frame;
			frame.GetTypeAndMethodGenericParameters(out genericTypeArguments, out genericMethodArguments);
			this.Function = frame.Function;
		}
Exemplo n.º 6
0
		public ValueContext(ILocalsOwner localsOwner, CorFrame frame, DnThread thread, IList<CorType> genericTypeArguments) {
			this.LocalsOwner = localsOwner;
			this.Thread = thread;
			this.Process = thread.Process;

			// Read everything immediately since the frame will be neutered when Continue() is called
			this.FrameCouldBeNeutered = frame;
			this.genericTypeArguments = genericTypeArguments;
			this.genericMethodArguments = new CorType[0];
			this.Function = frame == null ? null : frame.Function;
		}
Exemplo n.º 7
0
		public ValueContext(ILocalsOwner localsOwner, CorFrame frame, DnThread thread, DnProcess process) {
			this.LocalsOwner = localsOwner;
			this.Thread = thread;
			this.Process = process;
			Debug.Assert(thread == null || thread.Process == process);

			// Read everything immediately since the frame will be neutered when Continue() is called
			this.FrameCouldBeNeutered = frame;
			if (frame == null) {
				genericTypeArguments = genericMethodArguments = new List<CorType>();
				this.Function = null;
			}
			else {
				frame.GetTypeAndMethodGenericParameters(out genericTypeArguments, out genericMethodArguments);
				this.Function = frame.Function;
			}
		}
Exemplo n.º 8
0
		internal void NameChanged(DnThread thread) {
			if (thread == this.thread)
				reinitName = true;
		}
Exemplo n.º 9
0
		public ThreadVM(DnThread thread, IThreadContext context) {
			this.thread = thread;
			this.context = context;
		}
Exemplo n.º 10
0
 public void SetThread(DnThread thread)
 {
     SetThread(thread.CorThread);
 }
Exemplo n.º 11
0
		public ThreadVM(DnThread thread) {
			this.thread = thread;
		}
Exemplo n.º 12
0
 public ThreadDebuggerEventArgs(DnThread thread, bool added)
 {
     Thread = thread;
     Added  = added;
 }
Exemplo n.º 13
0
		void CallOnNameChanged(DnAppDomain appDomain, DnThread thread) =>
			OnNameChanged?.Invoke(this, new NameChangedDebuggerEventArgs(appDomain, thread));
Exemplo n.º 14
0
		public DebuggerThread(Debugger debugger, DBG.DnThread thread) {
			debugger.Dispatcher.VerifyAccess();
			this.debugger = debugger;
			this.thread = thread;
			this.uniqueId = thread.UniqueId;
			this.hashCode = thread.GetHashCode();
		}
Exemplo n.º 15
0
		public ValueContext(ILocalsOwner localsOwner, CorFrame frame, DnThread thread, List<CorType> genericTypeArguments) {
			LocalsOwner = localsOwner;
			Thread = thread;
			Process = thread.Process;

			// Read everything immediately since the frame will be neutered when Continue() is called
			FrameCouldBeNeutered = frame;
			this.genericTypeArguments = genericTypeArguments;
			genericMethodArguments = new List<CorType>();
			Function = frame?.Function;
		}
Exemplo n.º 16
0
		public NameChangedDebuggerEventArgs(DnAppDomain appDomain, DnThread thread) {
			this.AppDomain = appDomain;
			this.Thread = thread;
		}
Exemplo n.º 17
0
 public void SetThread(DnThread thread)
 {
     SetThread(thread.CorThread);
 }
Exemplo n.º 18
0
 public NameChangedDebuggerEventArgs(DnAppDomain appDomain, DnThread thread)
 {
     AppDomain = appDomain;
     Thread    = thread;
 }
Exemplo n.º 19
0
		public ThreadVM(DnThread thread, IThreadContext context) {
			Thread = thread;
			Context = context;
		}
Exemplo n.º 20
0
 void CallOnNameChanged(DnAppDomain appDomain, DnThread thread)
 {
     if (OnNameChanged != null)
         OnNameChanged(this, new NameChangedDebuggerEventArgs(appDomain, thread));
 }
Exemplo n.º 21
0
		public DebuggerState(DebugCallbackEventArgs e, DnProcess process, DnAppDomain appDomain, DnThread thread) {
			EventArgs = e;
			PauseStates = null;
			Process = process;
			AppDomain = appDomain;
			Thread = thread;
		}