예제 #1
0
		internal void OnLoaded() {
			MainWindow.Instance.Closing += OnClosing;
			MainWindow.Instance.CanExecuteEvent += MainWindow_CanExecuteEvent;
			debuggedProcessRunningNotifier = new DebuggedProcessRunningNotifier();
			debuggedProcessRunningNotifier.ProcessRunning += DebuggedProcessRunningNotifier_ProcessRunning;
			DebuggerSettings.Instance.PropertyChanged += DebuggerSettings_PropertyChanged;
		}
예제 #2
0
 TheDebugger(IDebuggerSettings debuggerSettings, [ImportMany] IEnumerable <Lazy <ILoadBeforeDebug> > loadBeforeDebugInsts)
 {
     this.debuggerSettings          = debuggerSettings;
     this.dispatcher                = Dispatcher.CurrentDispatcher;
     this.loadBeforeDebugInsts      = loadBeforeDebugInsts.ToArray();
     debuggedProcessRunningNotifier = new DebuggedProcessRunningNotifier(this);
     debuggedProcessRunningNotifier.ProcessRunning += DebuggedProcessRunningNotifier_ProcessRunning;
 }
예제 #3
0
		TheDebugger(IDebuggerSettings debuggerSettings, [ImportMany] IEnumerable<Lazy<ILoadBeforeDebug>> loadBeforeDebugInsts) {
			this.debuggerSettings = debuggerSettings;
			this.dispatcher = Dispatcher.CurrentDispatcher;
			this.loadBeforeDebugInsts = loadBeforeDebugInsts.ToArray();
			debuggedProcessRunningNotifier = new DebuggedProcessRunningNotifier(this);
			debuggedProcessRunningNotifier.ProcessRunning += DebuggedProcessRunningNotifier_ProcessRunning;
			OnProcessStateChanged += TheDebugger_OnProcessStateChanged;
		}