Documentation
¶
Overview ¶
Package debugger defines debugger state and event semantics shared by Ferret Wire clients and servers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandResult ¶
type CommandResult struct {
Event *apidebugger.Event
Error error
}
CommandResult preserves an event independently of its sanitized command error.
type EventKind ¶
type EventKind uint8
EventKind identifies an ordered debug state transition. Started and continued events remain distinct even though both carry a running snapshot.
type Snapshot ¶
type Snapshot struct {
State State
StopReason apidebugger.Reason
Location *source.Range
HitBreakpointIDs []apidebugger.BreakpointID
Depth int
Output *api.Output
Failure *failure.Failure
CommandResult *CommandResult
}
Snapshot is the semantic state published for a remote debug session.
Click to show internal directories.
Click to hide internal directories.