Exemple #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;
 }
Exemple #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;
 }
		public DebuggerAppDomain(Debugger debugger, DnAppDomain appDomain) {
			debugger.Dispatcher.VerifyAccess();
			this.debugger = debugger;
			DnAppDomain = appDomain;
			hashCode = appDomain.GetHashCode();
			Id = appDomain.Id;
		}
Exemple #4
0
 public DebuggerState(DebugCallbackEventArgs e, DnProcess process, DnAppDomain appDomain, DnThread thread)
 {
     EventArgs   = e;
     PauseStates = null;
     Process     = process;
     AppDomain   = appDomain;
     Thread      = thread;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #8
0
 void CallOnNameChanged(DnAppDomain appDomain, DnThread thread)
 {
     if (OnNameChanged != null)
         OnNameChanged(this, new NameChangedDebuggerEventArgs(appDomain, thread));
 }
Exemple #9
0
 void OnAppDomainUnloaded(DnAppDomain appDomain)
 {
     if (appDomain == null)
         return;
     foreach (var assembly in appDomain.Assemblies) {
         OnAssemblyUnloaded(assembly);
         appDomain.AssemblyUnloaded(assembly.CorAssembly.RawObject);
     }
 }
Exemple #10
0
		void RefreshAppDomainNames(DnAppDomain appDomain) {
			foreach (var vm in Collection)
				vm.RefreshAppDomainNames(appDomain);
		}
 public AppDomainDebuggerEventArgs(DnAppDomain appDomain, bool added)
 {
     AppDomain = appDomain;
     Added     = added;
 }
 public NameChangedDebuggerEventArgs(DnAppDomain appDomain, DnThread thread)
 {
     AppDomain = appDomain;
     Thread    = thread;
 }
Exemple #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;
		}
Exemple #14
0
		internal void RefreshAppDomainNames(DnAppDomain appDomain) {
			if (module.AppDomain == appDomain)
				OnPropertyChanged("AppDomainObject");
		}
Exemple #15
0
		void CallOnNameChanged(DnAppDomain appDomain, DnThread thread) =>
			OnNameChanged?.Invoke(this, new NameChangedDebuggerEventArgs(appDomain, thread));
Exemple #16
0
		public DebuggerState(DebugCallbackEventArgs e, DnProcess process, DnAppDomain appDomain, DnThread thread) {
			EventArgs = e;
			PauseStates = null;
			Process = process;
			AppDomain = appDomain;
			Thread = thread;
		}
Exemple #17
0
		public NameChangedDebuggerEventArgs(DnAppDomain appDomain, DnThread thread) {
			this.AppDomain = appDomain;
			this.Thread = thread;
		}
Exemple #18
0
		internal void RefreshAppDomainNames(DnAppDomain appDomain) {
			if (Module.AppDomain == appDomain)
				OnPropertyChanged(nameof(AppDomainObject));
		}