package types

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

Dependency Relation
	imports 14 packages, and imported by 8 packages

Involved Source Files dbg_types.go
Package-Level Type Names (total 9)
/* sort by: | */
Filters controls which transitions and log entries are shown. LogLevel am.LogLevel SkipAutoCanceledTx bool SkipAutoTx bool SkipCanceledTx bool SkipChecks bool SkipEmptyTx bool SkipHealthTx bool SkipOutGroup bool SkipQueuedTx bool (*Filters) Equal(filters *Filters) bool func (*Filters).Equal(filters *Filters) bool
Args is for logReaderWhenArgs only ClosedAt is human time when this entry was closed, so it can be disposed. CreatedAt is machine time when this entry was created Kind LogReaderKind Mach is for logReaderPipeIn, logReaderPipeOut, logReaderMention Pipe is for logReaderPipeIn, logReaderPipeOut QueueTick is for logReaderWhenQueue only states are empty for logReaderWhenQueue Ticks is for logReaderWhenTime only func github.com/pancsta/asyncmachine-go/tools/debugger.(*Client).GetReaderEntry(txId string, idx int) *LogReaderEntry func github.com/pancsta/asyncmachine-go/tools/debugger.(*Client).AddReaderEntry(txId string, entry *LogReaderEntry) int
EntryIdx int TxId string
const LogReaderCtx const LogReaderPipeIn const LogReaderPipeOut const LogReaderWhen const LogReaderWhenArgs const LogReaderWhenNot const LogReaderWhenQueue const LogReaderWhenTime
HumanTime time.Time MachId string MachTime uint64 TODO support queue ticks TODO support step TxId string (*MachAddress) Clone() *MachAddress (*MachAddress) String() string *MachAddress : expvar.Var *MachAddress : fmt.Stringer func ParseMachUrl(u string) (*MachAddress, error) func (*MachAddress).Clone() *MachAddress
Id string Time uint64
Groups map[string]am.S GroupsOrder []string
Transitions which reported this one as their source ForksLabels []string ReaderEntries []*LogReaderEntryPtr QueueTick when this tx should be executed StatesAdded []int StatesRemoved []int StatesTouched []int TimeDiff uint64 TimeSum is machine time after this transition. func github.com/pancsta/asyncmachine-go/tools/debugger/server.(*Client).TxParsed(idx int) *MsgTxParsed
Params are CLI params for am-dbg, also used as internal state via Debugger.Params. AddrHttp is the computed HTTP server address (ListenAddr port+1). AddrRpc is the RPC listen address (same as ListenAddr). AddrSsh is the computed SSH server address (ListenAddr port+2). CleanOnConnect bool DbgLogger is the file logger for this instance. DbgOtel bool DebugAddr string EnableClipboard bool EnableMouse bool FilterAutoCanceledTx bool FilterAutoTx bool FilterCanceledTx bool FilterChecks bool FilterDisconn bool FilterEmptyTx bool FilterGroup bool FilterHealthTx bool FilterLogLevel am.LogLevel FilterQueuedTx bool Filters is the active set of transition filters. FwdData []string Id is the ID of this asyncmachine (for debugging). ImportData string ListenAddr string LogLevel is the log level of this instance (for debugging). LogOpsTtl time.Duration MachUrl string MaxMemMb int OutputClients bool OutputDiagrams int OutputDir string OutputLog bool OutputTx bool Print is the output function for status messages PrintVersion bool ProfCpu bool ProfMem bool ProfSrv string RaceDetector bool Screen is an optional tcell screen override (tests, SSH). SelectConnected bool SelectGroup string StartupView string TailMode bool UiSsh bool UiWeb bool Version is the computed build version string. ViewNarrow bool ViewRain bool ViewReader bool ViewTimelines int func GetLogger(params *Params, dir string) *log.Logger func HandleProfMem(logger *log.Logger, p *Params) func StartCpuProfile(logger *log.Logger, p *Params) func() func StartCpuProfileSrv(ctx context.Context, logger *log.Logger, p *Params) func github.com/pancsta/asyncmachine-go/tools/debugger.New(ctx context.Context, p Params) (*debugger.Debugger, error) func github.com/pancsta/asyncmachine-go/tools/debugger/server.StartRpc(mach *am.Machine, addr string, mux chan<- cmux.CMux, p Params) func github.com/pancsta/asyncmachine-go/internal/testing.NewDbgWorker(realTty bool, p Params) (*debugger.Debugger, error)
Package-Level Functions (total 5)
GetLogger returns a file logger, according to params.
func HandleProfMem(logger *log.Logger, p *Params)
func StartCpuProfile(logger *log.Logger, p *Params) func()