コード例 #1
0
 public DebuggerState(DebugCallbackEventArgs e, DnProcess process, DnAppDomain appDomain, DnThread thread)
 {
     EventArgs   = e;
     PauseStates = null;
     Process     = process;
     AppDomain   = appDomain;
     Thread      = thread;
 }
コード例 #2
0
ファイル: DebuggerState.cs プロジェクト: lovebanyi/dnSpy
 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;
 }
コード例 #3
0
ファイル: DebuggerState.cs プロジェクト: haise0/reAtomizer
 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;
 }
コード例 #4
0
 public DebuggerThread(Debugger debugger, DBG.DnThread thread)
 {
     debugger.Dispatcher.VerifyAccess();
     this.debugger = debugger;
     this.thread   = thread;
     uniqueId      = thread.UniqueId;
     hashCode      = thread.GetHashCode();
 }
コード例 #5
0
ファイル: ValueContext.cs プロジェクト: nakijun/dnSpy
		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;
		}
コード例 #6
0
ファイル: ValueContext.cs プロジェクト: arkanoid1/dnSpy
		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;
		}
コード例 #7
0
ファイル: ValueContext.cs プロジェクト: arkanoid1/dnSpy
		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;
			}
		}
コード例 #8
0
ファイル: ThreadVM.cs プロジェクト: lovebanyi/dnSpy
		internal void NameChanged(DnThread thread) {
			if (thread == this.thread)
				reinitName = true;
		}
コード例 #9
0
ファイル: ThreadVM.cs プロジェクト: lovebanyi/dnSpy
		public ThreadVM(DnThread thread, IThreadContext context) {
			this.thread = thread;
			this.context = context;
		}
コード例 #10
0
ファイル: DnEval.cs プロジェクト: lovebanyi/dnSpy
 public void SetThread(DnThread thread)
 {
     SetThread(thread.CorThread);
 }
コード例 #11
0
ファイル: ThreadVM.cs プロジェクト: arkanoid1/dnSpy
		public ThreadVM(DnThread thread) {
			this.thread = thread;
		}
コード例 #12
0
 public ThreadDebuggerEventArgs(DnThread thread, bool added)
 {
     Thread = thread;
     Added  = added;
 }
コード例 #13
0
ファイル: DnDebugger.cs プロジェクト: manojdjoshi/dnSpy
		void CallOnNameChanged(DnAppDomain appDomain, DnThread thread) =>
			OnNameChanged?.Invoke(this, new NameChangedDebuggerEventArgs(appDomain, thread));
コード例 #14
0
ファイル: DebuggerThread.cs プロジェクト: levisre/dnSpy
		public DebuggerThread(Debugger debugger, DBG.DnThread thread) {
			debugger.Dispatcher.VerifyAccess();
			this.debugger = debugger;
			this.thread = thread;
			this.uniqueId = thread.UniqueId;
			this.hashCode = thread.GetHashCode();
		}
コード例 #15
0
ファイル: ValueContext.cs プロジェクト: manojdjoshi/dnSpy
		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;
		}
コード例 #16
0
ファイル: DebuggerEventArgs.cs プロジェクト: arkanoid1/dnSpy
		public NameChangedDebuggerEventArgs(DnAppDomain appDomain, DnThread thread) {
			this.AppDomain = appDomain;
			this.Thread = thread;
		}
コード例 #17
0
 public void SetThread(DnThread thread)
 {
     SetThread(thread.CorThread);
 }
コード例 #18
0
 public NameChangedDebuggerEventArgs(DnAppDomain appDomain, DnThread thread)
 {
     AppDomain = appDomain;
     Thread    = thread;
 }
コード例 #19
0
ファイル: ThreadVM.cs プロジェクト: manojdjoshi/dnSpy
		public ThreadVM(DnThread thread, IThreadContext context) {
			Thread = thread;
			Context = context;
		}
コード例 #20
0
ファイル: DnDebugger.cs プロジェクト: lovebanyi/dnSpy
 void CallOnNameChanged(DnAppDomain appDomain, DnThread thread)
 {
     if (OnNameChanged != null)
         OnNameChanged(this, new NameChangedDebuggerEventArgs(appDomain, thread));
 }
コード例 #21
0
ファイル: DebuggerState.cs プロジェクト: manojdjoshi/dnSpy
		public DebuggerState(DebugCallbackEventArgs e, DnProcess process, DnAppDomain appDomain, DnThread thread) {
			EventArgs = e;
			PauseStates = null;
			Process = process;
			AppDomain = appDomain;
			Thread = thread;
		}