コード例 #1
0
ファイル: Extensions.cs プロジェクト: zcf7822/monodevelop
        public static AsyncOperation AttachToProcess(this ProjectOperations opers, DebuggerEngine debugger, ProcessInfo proc)
        {
            var oper = DebuggingService.AttachToProcess(debugger, proc);

            opers.AddRunOperation(oper);
            return(opers.CurrentRunOperation);
        }
コード例 #2
0
		public static IAsyncOperation AttachToProcess (this ProjectOperations opers, DebuggerEngine debugger, ProcessInfo proc)
		{
			if (opers.CurrentRunOperation != null && !opers.CurrentRunOperation.IsCompleted)
				return opers.CurrentRunOperation;
			
			opers.CurrentRunOperation = DebuggingService.AttachToProcess (debugger, proc);
			
			return opers.CurrentRunOperation;
		}
コード例 #3
0
ファイル: Extensions.cs プロジェクト: dgjbss/MonoDevelopWin
        public static AsyncOperation AttachToProcess(this ProjectOperations opers, DebuggerEngine debugger, ProcessInfo proc)
        {
            if (!IdeApp.Workbench.Visible)
            {
                IdeApp.Workbench.Present();
            }

            var oper = DebuggingService.AttachToProcess(debugger, proc);

            opers.AddRunOperation(oper);
            return(opers.CurrentRunOperation);
        }
コード例 #4
0
        public static IAsyncOperation AttachToProcess(this ProjectOperations opers, DebuggerEngine debugger, ProcessInfo proc)
        {
            if (opers.CurrentRunOperation != null && !opers.CurrentRunOperation.IsCompleted)
            {
                return(opers.CurrentRunOperation);
            }

            var oper = DebuggingService.AttachToProcess(debugger, proc);

            SwitchToDebugLayout(oper);

            opers.CurrentRunOperation = oper;
            return(opers.CurrentRunOperation);
        }