diff --git a/src/Runner.Worker/Dap/IDapDebugger.cs b/src/Runner.Worker/Dap/IDapDebugger.cs index 52de741c2..d895850da 100644 --- a/src/Runner.Worker/Dap/IDapDebugger.cs +++ b/src/Runner.Worker/Dap/IDapDebugger.cs @@ -17,11 +17,8 @@ namespace GitHub.Runner.Worker.Dap [ServiceLocator(Default = typeof(DapDebugger))] public interface IDapDebugger : IRunnerService { - bool IsActive { get; } Task StartAsync(CancellationToken cancellationToken); Task WaitUntilReadyAsync(CancellationToken cancellationToken); - Task StopAsync(); - void CancelSession(); Task OnStepStartingAsync(IStep step, IExecutionContext jobContext, CancellationToken cancellationToken); void OnStepCompleted(IStep step); Task OnJobCompletedAsync(); diff --git a/src/Test/L0/Worker/JobExtensionL0.cs b/src/Test/L0/Worker/JobExtensionL0.cs index 34413552c..40c495a81 100644 --- a/src/Test/L0/Worker/JobExtensionL0.cs +++ b/src/Test/L0/Worker/JobExtensionL0.cs @@ -550,7 +550,6 @@ namespace GitHub.Runner.Common.Tests.Worker _stepsRunner.Initialize(hc); var mockDapDebugger = new Mock(); - mockDapDebugger.Setup(x => x.IsActive).Returns(false); hc.SetSingleton(mockDapDebugger.Object); await _stepsRunner.RunAsync(_jobEc); diff --git a/src/Test/L0/Worker/StepsRunnerL0.cs b/src/Test/L0/Worker/StepsRunnerL0.cs index e9e99d82c..2ab9f57fd 100644 --- a/src/Test/L0/Worker/StepsRunnerL0.cs +++ b/src/Test/L0/Worker/StepsRunnerL0.cs @@ -64,7 +64,6 @@ namespace GitHub.Runner.Common.Tests.Worker _stepsRunner.Initialize(hc); var mockDapDebugger = new Mock(); - mockDapDebugger.Setup(x => x.IsActive).Returns(false); hc.SetSingleton(mockDapDebugger.Object); return hc;