internal void OnLoaded() { MainWindow.Instance.Closing += OnClosing; MainWindow.Instance.CanExecuteEvent += MainWindow_CanExecuteEvent; debuggedProcessRunningNotifier = new DebuggedProcessRunningNotifier(); debuggedProcessRunningNotifier.ProcessRunning += DebuggedProcessRunningNotifier_ProcessRunning; DebuggerSettings.Instance.PropertyChanged += DebuggerSettings_PropertyChanged; }
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; }
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; }