public static AsyncOperation AttachToProcess(this ProjectOperations opers, DebuggerEngine debugger, ProcessInfo proc) { var oper = DebuggingService.AttachToProcess(debugger, proc); opers.AddRunOperation(oper); return(opers.CurrentRunOperation); }
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; }
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); }
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); }