package states

Import Path
	/tools/debugger/states (on go.dev)

Dependency Relation
	imports 4 packages, and imported by 10 packages

Involved Source Files ss_dbg.go
Package-Level Type Names (total 3)
/* sort by: | */
DebuggerGroupsDef contains all the state groups of the debugger state machine. ClientTx represents client transaction states, 1 active at a time. Debug contains states useful when debugging the debugger in another debugger. Machine diagram rendering states. Dialog represents dialog-related states. Filters represents filter states. Focused represents focus-related states, 1 active at a time. states triggering the Loading state Mcp S McpReadonly S Playing represents playback-related states, 1 active at a time. Views represents view-related states, 1 active at a time. var DebuggerGroups
DebuggerStatesDef contains all the states of the debugger state machine. AddressFocused string AfterFocus string Back string BackStep string BasicStatesDef *ssam.BasicStatesDef ErrHandlerTimeout indicates one of the state machine handlers has timed out. ErrNetwork indicates a generic network error. Healthcheck is a periodic request making sure that the machine is still alive. TODO call UpdatingLog with partial acceptance and delegate to BuildingLog if out of bounds ClientListFocused string ClientListVisible string ClientSelected string DiagramsGraphReady string DiagramsGraphRendering string DiagramsMachReady string DiagramsMachRendering string DiagramsStatesReady string pre-render all state-zoom diagrams for the selected machine DialogFocused string DisposedStatesDef *ssam.DisposedStatesDef Disposed indicates that the machine has disposed allocated resources and is ready to be garbage collected by calling [am.Machine.Dispose]. Disposing starts the machine disposal - first state-based and then calls [am.Machine.Dispose]. RegisterDisposal registers a disposal handler passed under the DisposedArgHandler key. Requires [DisposedHandlers] to be bound prior to the registration. Handlers registered via RegisterDisposal can block. errors ErrWeb string ExportDialog string FilterAutoCanceledTx string FilterAutoTx string FilterCanceledTx string FilterChecks string FilterDisconn string FilterEmptyTx string FilterHealth string FilterOutGroup string FilterQueuedTx string FilterRpcMachs string FilterTraces string FocusNext string FocusPrev string tx / steps back / fwd FwdStep string GcMsgs string Heartbeat string HelpDialog string Loading string LogBuilt string LogFocused string LogReaderEnabled string LogReaderFocused string LogReaderVisible string LogTimestamps string LogUpdated string LogUserScrolled string MatrixFocused string MatrixRain string MatrixRainSelected string MatrixView string NarrowLayout string Overlay string Paused string Playing string Ready string Redraw string RemoveClient string Resized string ScrollToMutTxState scrolls to a transition which mutated the passed state, If fwd is true, it scrolls forward, otherwise backwards. ScrollToStep string ScrollToTx string client selection ServerStatesDef *ServerStatesDef ServerStatesDef.ClientMsg string ServerStatesDef.ConnectEvent string ServerStatesDef.DisconnectEvent string ServerStatesDef.ErrGraph string TODO this never passes negotiation in am-dbg imports SetCursor string SetGroup string SshDisconn string SshServer string actions StateNameSelected string Exception is the only built-in state and mean a global error. All errors have to [State.Require] the Exception state. If [Machine.PanicToErr] is true, Exception will receive it. StateSourceStatesDef *ssrpc.StateSourceStatesDef StatesBase *am.StatesBase ErrOnClient indicates an error added on the Network Machine. SwitchedClientTx string SwitchingClientTx string TailMode string TimelineStepsFocused string TimelineStepsHidden string TODO remove view states TimelineTxsFocused string ToggleTool string ToolRain string ToolToggled string Toolbar1Focused string Toolbar2Focused string Toolbar3Focused string Toolbar4Focused string focus group TreeGroupsFocused string TreeLogView string TreeMatrixView string TxSelected string UpdateFocus string UpdateLogReader string UpdateLogScheduled string UpdatingLog string UserBack string UserBackStep string input events UserFwdStep string UserNarrowLayout string web req for diagram viewer websocket conn for diagram viewer ( DebuggerStatesDef) Names() machine.S ( DebuggerStatesDef) SetNames(names machine.S) ( DebuggerStatesDef) SetStateGroups(groups map[string][]int, order []string) ( DebuggerStatesDef) StateGroups() (map[string][]int, []string) DebuggerStatesDef : github.com/pancsta/asyncmachine-go/pkg/machine.States var DebuggerStates
ServerStatesDef contains all the states of the debugger server state machine, used to listen for RPC connections and msgD. ClientMsg string ConnectEvent string DisconnectEvent string ErrGraph string TODO this never passes negotiation in am-dbg imports StatesBase *am.StatesBase Exception is the only built-in state and mean a global error. All errors have to [State.Require] the Exception state. If [Machine.PanicToErr] is true, Exception will receive it. ( ServerStatesDef) Names() machine.S ( ServerStatesDef) SetNames(names machine.S) ( ServerStatesDef) SetStateGroups(groups map[string][]int, order []string) ( ServerStatesDef) StateGroups() (map[string][]int, []string) ServerStatesDef : github.com/pancsta/asyncmachine-go/pkg/machine.States var ServerStates
Package-Level Variables (total 5)
DebuggerGroups contains all the state groups for the debugger machine.
DebuggerSchema represents all relations and properties of DebuggerStates.
DebuggerStates contains all the states for the debugger machine.
ServerSchema represents all relations and properties of ServerStates.
ServerStates contains all the states for the Server machine.