//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// private async Task <object> CreateDebuggerConnectionServiceAsync(IAsyncServiceContainer container, CancellationToken cancellationToken, Type serviceType) { // // Create a service to manage the 'attach' status dialog. As we need to access this via VsDebugLauncher/VsDebugEngine. // var launchService = new DebuggerConnectionService(); await launchService.InitializeAsync(this, cancellationToken); return(launchService); }
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// void InitialisePackageServices() { LoggingUtils.PrintFunction(); // // Create a service to manage the 'attach' status dialog. As we need to access this via VsDebugLauncher/VsDebugEngine. // IServiceContainer serviceContainer = this as IServiceContainer; DebuggerConnectionService launchService = new DebuggerConnectionService(); serviceContainer.AddService(typeof(IDebuggerConnectionService), launchService, true); }
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// void InitialisePackageServices () { LoggingUtils.PrintFunction (); // // Create a service to manage the 'attach' status dialog. As we need to access this via VsDebugLauncher/VsDebugEngine. // IServiceContainer serviceContainer = this as IServiceContainer; DebuggerConnectionService launchService = new DebuggerConnectionService (); serviceContainer.AddService (typeof (IDebuggerConnectionService), launchService, true); }