Beispiel #1
0
 internal DnAssembly(DnAppDomain appDomain, ICorDebugAssembly assembly, int incrementedId)
 {
     this.appDomain     = appDomain;
     this.modules       = new DebuggerCollection <ICorDebugModule, DnModule>(CreateModule);
     this.assembly      = new CorAssembly(assembly);
     this.incrementedId = incrementedId;
 }
Beispiel #2
0
 internal DnAssembly(DnAppDomain appDomain, ICorDebugAssembly assembly, int incrementedId)
 {
     this.appDomain = appDomain;
     this.modules = new DebuggerCollection<ICorDebugModule, DnModule>(CreateModule);
     this.assembly = new CorAssembly(assembly);
     this.incrementedId = incrementedId;
 }
Beispiel #3
0
		public DebuggerAppDomain(Debugger debugger, DnAppDomain appDomain) {
			debugger.Dispatcher.VerifyAccess();
			this.debugger = debugger;
			DnAppDomain = appDomain;
			hashCode = appDomain.GetHashCode();
			Id = appDomain.Id;
		}
Beispiel #4
0
 public DebuggerState(DebugCallbackEventArgs e, DnProcess process, DnAppDomain appDomain, DnThread thread)
 {
     EventArgs   = e;
     PauseStates = null;
     Process     = process;
     AppDomain   = appDomain;
     Thread      = thread;
 }
Beispiel #5
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;
 }
Beispiel #6
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;
 }
Beispiel #7
0
 internal DnAssembly(DnAppDomain appDomain, ICorDebugAssembly assembly, int uniqueId, int uniqueIdProcess, int uniqueIdAppDomain)
 {
     AppDomain         = appDomain;
     modules           = new DebuggerCollection <ICorDebugModule, DnModule>(CreateModule);
     CorAssembly       = new CorAssembly(assembly);
     UniqueId          = uniqueId;
     UniqueIdProcess   = uniqueIdProcess;
     UniqueIdAppDomain = uniqueIdAppDomain;
 }
Beispiel #8
0
 void CallOnNameChanged(DnAppDomain appDomain, DnThread thread)
 {
     if (OnNameChanged != null)
         OnNameChanged(this, new NameChangedDebuggerEventArgs(appDomain, thread));
 }
Beispiel #9
0
 void OnAppDomainUnloaded(DnAppDomain appDomain)
 {
     if (appDomain == null)
         return;
     foreach (var assembly in appDomain.Assemblies) {
         OnAssemblyUnloaded(assembly);
         appDomain.AssemblyUnloaded(assembly.CorAssembly.RawObject);
     }
 }
Beispiel #10
0
		void RefreshAppDomainNames(DnAppDomain appDomain) {
			foreach (var vm in Collection)
				vm.RefreshAppDomainNames(appDomain);
		}
Beispiel #11
0
 public AppDomainDebuggerEventArgs(DnAppDomain appDomain, bool added)
 {
     AppDomain = appDomain;
     Added     = added;
 }
Beispiel #12
0
 public NameChangedDebuggerEventArgs(DnAppDomain appDomain, DnThread thread)
 {
     AppDomain = appDomain;
     Thread    = thread;
 }
Beispiel #13
0
		internal DnAssembly(DnAppDomain appDomain, ICorDebugAssembly assembly, int uniqueId, int uniqueIdProcess, int uniqueIdAppDomain) {
			AppDomain = appDomain;
			modules = new DebuggerCollection<ICorDebugModule, DnModule>(CreateModule);
			CorAssembly = new CorAssembly(assembly);
			UniqueId = uniqueId;
			UniqueIdProcess = uniqueIdProcess;
			UniqueIdAppDomain = uniqueIdAppDomain;
		}
Beispiel #14
0
		internal void RefreshAppDomainNames(DnAppDomain appDomain) {
			if (module.AppDomain == appDomain)
				OnPropertyChanged("AppDomainObject");
		}
Beispiel #15
0
		void CallOnNameChanged(DnAppDomain appDomain, DnThread thread) =>
			OnNameChanged?.Invoke(this, new NameChangedDebuggerEventArgs(appDomain, thread));
Beispiel #16
0
		public DebuggerState(DebugCallbackEventArgs e, DnProcess process, DnAppDomain appDomain, DnThread thread) {
			EventArgs = e;
			PauseStates = null;
			Process = process;
			AppDomain = appDomain;
			Thread = thread;
		}
Beispiel #17
0
		public NameChangedDebuggerEventArgs(DnAppDomain appDomain, DnThread thread) {
			this.AppDomain = appDomain;
			this.Thread = thread;
		}
Beispiel #18
0
		internal void RefreshAppDomainNames(DnAppDomain appDomain) {
			if (Module.AppDomain == appDomain)
				OnPropertyChanged(nameof(AppDomainObject));
		}