Documentation
¶
Index ¶
- Constants
- type Debugger
- func (d *Debugger) AfterTaskExecution(_ Step, _ interface{})
- func (d *Debugger) Before(ctx context.Context, point Step, snapshot interface{}) error
- func (d *Debugger) BeforeTaskExecution(step Step, request interface{})
- func (d *Debugger) Control(command string) error
- func (d *Debugger) EnableStepMode(enable bool)
- func (d *Debugger) RemoveBreakpoint(step Step)
- func (d *Debugger) SetBreakpoint(step Step)
- func (d *Debugger) State() *State
- type State
- type Step
Constants ¶
View Source
const ( CommandPause = "pause" CommandStep = "step" CommandNext = "next" CommandContinue = "continue" CommandStop = "stop" StateRunning = "running" StatePaused = "paused" StateStopped = "stopped" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Debugger ¶
type Debugger struct {
Breakpoints map[Step]struct{}
StepMode bool
// contains filtered or unexported fields
}
func NewDebugger ¶
func NewDebugger() *Debugger
func (*Debugger) AfterTaskExecution ¶
func (*Debugger) BeforeTaskExecution ¶
Legacy methods remain for compatibility; served workflows use Before directly.
func (*Debugger) EnableStepMode ¶
func (*Debugger) RemoveBreakpoint ¶
func (*Debugger) SetBreakpoint ¶
Click to show internal directories.
Click to hide internal directories.