src/Microsoft.VisualStudio.ProjectSystem.Managed.VS/ProjectSystem/VS/Debug/ProjectDebuggerProvider.cs
/// <summary>
/// Overridden to direct the launch to the current active provider as determined by the active launch profile
/// </summary>
Overridden to direct the launch to the current active provider as determined by the active launch profile
Overridden to direct the launch to the current active provider as determined by the active launch profile
public override async Task LaunchAsync(DebugLaunchOptions launchOptions)
        {
            IReadOnlyList<IDebugLaunchSettings> targets = await QueryDebugTargetsInternalAsync(launchOptions, fromDebugLaunch: true);
            ILaunchProfile? activeProfile = LaunchSettingsProvider.ActiveProfile;
            Assumes.NotNull(activeProfile);
            IDebugProfileLaunchTargetsProvider? targetProfile = GetLaunchTargetsProvider(activeProfile);
            if (targetProfile != null)
            {
                await targetProfile.OnBeforeLaunchAsync(launchOptions, activeProfile);
            }
            await DoLaunchAsync(targets.ToArray());
            if (targetProfile != null)
            {
                await targetProfile.OnAfterLaunchAsync(launchOptions, activeProfile);
            }
        }
public override async Task LaunchAsync ( DebugLaunchOptions launchOptions ) { IReadOnlyList < IDebugLaunchSettings > targets = await QueryDebugTargetsInternalAsync ( launchOptions , fromDebugLaunch : true ) ; ILaunchProfile ? activeProfile = LaunchSettingsProvider . ActiveProfile ; Assumes . NotNull ( activeProfile ) ; IDebugProfileLaunchTargetsProvider ? targetProfile = GetLaunchTargetsProvider ( activeProfile ) ; if ( targetProfile != null ) { await targetProfile . OnBeforeLaunchAsync ( launchOptions , activeProfile ) ; } await DoLaunchAsync ( targets . ToArray ( ) ) ; if ( targetProfile != null ) { await targetProfile . OnAfterLaunchAsync ( launchOptions , activeProfile ) ; } }
Overridden to direct the launch to the current active provider as determined by the active launch profile
Overridden to direct the launch to the current active provider as determined by the active launch profile
launchOptions
DebugLaunchOptions