Exemplo n.º 1
0
        public static AsyncOperation AttachToProcess(this ProjectOperations opers, DebuggerEngine debugger, ProcessInfo proc)
        {
            var oper = DebuggingService.AttachToProcess(debugger, proc);

            opers.AddRunOperation(oper);
            return(opers.CurrentRunOperation);
        }
Exemplo n.º 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;
		}
Exemplo n.º 3
0
        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);
        }
Exemplo n.º 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);
        }