mirror of
https://github.com/actions/runner.git
synced 2026-03-28 18:27:13 +08:00
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Tingluo Huang <tingluohuang@github.com>
27 lines
615 B
C#
27 lines
615 B
C#
using System.Threading.Tasks;
|
|
using GitHub.Runner.Common;
|
|
|
|
namespace GitHub.Runner.Worker.Dap
|
|
{
|
|
public enum DapSessionState
|
|
{
|
|
NotStarted,
|
|
WaitingForConnection,
|
|
Initializing,
|
|
Ready,
|
|
Paused,
|
|
Running,
|
|
Terminated
|
|
}
|
|
|
|
[ServiceLocator(Default = typeof(DapDebugger))]
|
|
public interface IDapDebugger : IRunnerService
|
|
{
|
|
Task StartAsync(IExecutionContext jobContext);
|
|
Task WaitUntilReadyAsync();
|
|
Task OnStepStartingAsync(IStep step);
|
|
void OnStepCompleted(IStep step);
|
|
Task OnJobCompletedAsync();
|
|
}
|
|
}
|