package states

Import Path
	github.com/pancsta/asyncmachine-go/tools/debugger/states (on go.dev)

Dependency Relation
	imports 3 packages, and imported by 10 packages

Involved Source Files ss_dbg.go
Package-Level Type Names (total 2)
/* sort by: | */
ServerGroupsDef contains all the state groups Server state machine. var ServerGroups
ServerStatesDef contains all the states of the dbg server state machine, used to listen for RPC connections and msgs. ClientMsg string ConnectEvent string DisconnectEvent string InitClient string 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 12)
GroupDebug contains states useful when debugging the debugger in another debugger.
Names is an ordered list of all the state names.
ServerGroups contains all the state groups for the Server machine.
ServerSchema represents all relations and properties of ServerStates.
ServerStates contains all the states for the Server machine.
States map defines relations and properties of states.
Package-Level Constants (total 88)
const AddressFocused = "AddressFocused"
const AfterFocus = "AfterFocus"
Back moves to the previous transition
BackStep moves to the previous transition's steps
const BuildingLog = "BuildingLog"
ClientListFocused is client list focused. TODO rename to ClientListFocused
const ClientListVisible = "ClientListVisible"
const ClientMsg = "ClientMsg"
const ClientSelected = "ClientSelected"
const ConnectEvent = "ConnectEvent"
const DiagramsReady = "DiagramsReady"
const DiagramsRendering = "DiagramsRendering"
const DiagramsScheduled = "DiagramsScheduled"
const DialogFocused = "DialogFocused"
const DisconnectEvent = "DisconnectEvent"
const ErrDiagrams = "ErrDiagrams"
const ErrWeb = "ErrWeb"
const ExportDialog = "ExportDialog"
const FilterAutoCanceledTx = "FilterAutoCanceledTx"
const FilterAutoTx = "FilterAutoTx"
const FilterCanceledTx = "FilterCanceledTx"
const FilterChecks = "FilterChecks"
FilterEmptyTx is a filter for txs which didn't change state and didn't run any self handler either
const FilterHealth = "FilterHealth"
FilterOutGroup filters out txs for states outside the selected group.
const FilterQueuedTx = "FilterQueuedTx"
const FilterTraces = "FilterTraces"
Fwd moves to the next transition
FwdStep moves to the next transition's steps
const GcMsgs = "GcMsgs"
const Heartbeat = "Heartbeat"
const HelpDialog = "HelpDialog"
const InitClient = "InitClient"
const LogBuilt = "LogBuilt"
const LogFocused = "LogFocused"
const LogReaderEnabled = "LogReaderEnabled"
const LogReaderFocused = "LogReaderFocused"
const LogReaderVisible = "LogReaderVisible"
const LogTimestamps = "LogTimestamps"
const LogUpdated = "LogUpdated"
const LogUserScrolled = "LogUserScrolled"
const MatrixFocused = "MatrixFocused"
const MatrixRain = "MatrixRain"
const MatrixRainSelected = "MatrixRainSelected"
const MatrixView = "MatrixView"
NarrowLayout activates when resized or started in a narrow TUI viewport.
const Paused = "Paused"
const Playing = "Playing"
Ready is an async result of start
Redraw means the UI should have a full re-draw.
const RemoveClient = "RemoveClient"
const Resized = "Resized"
ScrollToMutTx scrolls to a transition which mutated or called the passed state, If fwd is true, it scrolls forward, otherwise backwards.
const ScrollToStep = "ScrollToStep"
ScrollToTx scrolls to a specific transition.
const SelectingClient = "SelectingClient"
const SetCursor = "SetCursor"
const SetGroup = "SetGroup"
const Start = "Start"
StateNameSelected states that a state name is selected somehwere in the tree (and possibly other places). TODO support a list of states
SwitchedClientTx is a completed SwitchingClientTx.
SwitchingClientTx switches to the given client and scrolls to the given transaction (1-based tx index). Accepts Client.id and cursorTx1.
TailMode always shows the latest transition
const TimelineStepsFocused = "TimelineStepsFocused"
const TimelineStepsHidden = "TimelineStepsHidden"
const TimelineStepsScrolled = "TimelineStepsScrolled"
const TimelineTxHidden = "TimelineTxHidden"
const TimelineTxsFocused = "TimelineTxsFocused"
const ToggleTool = "ToggleTool"
const Toolbar1Focused = "Toolbar1Focused"
const Toolbar2Focused = "Toolbar2Focused"
const Toolbar3Focused = "Toolbar3Focused"
const ToolRain = "ToolRain"
const ToolToggled = "ToolToggled"
TODO rename to SchemaFocused
const TreeGroupsFocused = "TreeGroupsFocused"
const TreeLogView = "TreeLogView"
const TreeMatrixView = "TreeMatrixView"
const UpdateFocus = "UpdateFocus"
const UpdateLogReader = "UpdateLogReader"
const UpdateLogScheduled = "UpdateLogScheduled"
const UpdatingLog = "UpdatingLog"
UserBack is a user generated event
UserBackStep is a user generated event
UserFwd is a user generated event
UserFwdStep is a user generated event
const WebReq = "WebReq"
const WebSocket = "WebSocket"