Versions in this module Expand all Collapse all v0 v0.0.1 Oct 27, 2024 Changes in this version + const Call + const Continue + const DirectionCongruentContinue + const FglGo + const FglRuntimeCurrent + const FglStart + const FglUserCurrent + const GNUFlavour + const GoFlavour + const GoroutineSyscall + const GoroutineWaiting + const Halt + const IntelFlavour + const Next + const NextInstruction + const ReverseNext + const ReverseNextInstruction + const ReverseStep + const ReverseStepInstruction + const ReverseStepOut + const Rewind + const Step + const StepInstruction + const StepOut + const SwitchGoroutine + const SwitchThread + const VariableArgument + const VariableCPURegister + const VariableCPtr + const VariableConstant + const VariableEscaped + const VariableFakeAddress + const VariableReturnArgument + const VariableShadowed + var ErrNotExecutable = errors.New("not an executable file") + func ConvertPhysicalBreakpoints(b *Breakpoint, lbp *proc.LogicalBreakpoint, pids []int, bps []*proc.Breakpoint) + func ExtractIntValue(s string) string + func LoadConfigToProc(cfg *LoadConfig) *proc.LoadConfig + func ParseGoroutineArgs(argstr string) ([]ListGoroutinesFilter, GoroutineGroupingOptions, FormatGoroutineLoc, ...) + func PrettyExamineMemory(address uintptr, memArea []byte, isLittleEndian bool, format byte, size int) string + func PrettyTypeName(typ godwarf.Type) string + func PrintStack(formatPath func(string) string, out io.Writer, stack []Stackframe, ind string, ...) + func ShortenType(typ string) string + func ValidBreakpointName(name string) error + func VariableValueAsString(v *proc.Variable) string + type Ancestor struct + ID int64 + Stack []Stackframe + Unreadable string + type AsmInstruction struct + AtPC bool + Breakpoint bool + Bytes []byte + DestLoc *Location + Loc Location + Text string + func ConvertAsmInstruction(inst proc.AsmInstruction, text string) AsmInstruction + type AsmInstructions []AsmInstruction + type AssemblyFlavour int + type Breakpoint struct + Addr uint64 + AddrPid []int + Addrs []uint64 + Cond string + Disabled bool + ExprString string + File string + FunctionName string + Goroutine bool + HitCond string + HitCondPerG bool + HitCount map[string]uint64 + ID int + Line int + LoadArgs *LoadConfig + LoadLocals *LoadConfig + Name string + RootFuncName string + Stacktrace int + TotalHitCount uint64 + TraceFollowCalls int + TraceReturn bool + Tracepoint bool + UserData interface{} + Variables []string + VerboseDescr []string + WatchExpr string + WatchType WatchType + func ConvertLogicalBreakpoint(lbp *proc.LogicalBreakpoint) *Breakpoint + type BreakpointInfo struct + Arguments []Variable + Goroutine *Goroutine + Locals []Variable + Stacktrace []Stackframe + Variables []Variable + type Checkpoint struct + ID int + When string + Where string + type DebuggerCommand struct + Expr string + GoroutineID int64 + Name string + ReturnInfoLoadConfig *LoadConfig + ThreadID int + UnsafeCall bool + type DebuggerState struct + CoreDumping bool + CurrentThread *Thread + Err error + ExitStatus int + Exited bool + NextInProgress bool + Pid int + Recording bool + Running bool + SelectedGoroutine *Goroutine + TargetCommandLine string + Threads []*Thread + WatchOutOfScope []*Breakpoint + When string + type Defer struct + DeferLoc Location + DeferredLoc Location + SP uint64 + Unreadable string + type DiscardedBreakpoint struct + Breakpoint *Breakpoint + Reason string + type DumpState struct + AllDone bool + Dumping bool + Err string + MemDone uint64 + MemTotal uint64 + ThreadsDone int + ThreadsTotal int + func ConvertDumpState(dumpState *proc.DumpState) *DumpState + type EvalScope struct + DeferredCall int + Frame int + GoroutineID int64 + type FormatGoroutineLoc int + type Function struct + GoType uint64 + Name_ string + Optimized bool + Type byte + Value uint64 + func ConvertFunction(fn *proc.Function) *Function + func (fn *Function) Name() string + type GetVersionIn struct + type GetVersionOut struct + APIVersion int + Backend string + DelveVersion string + MaxSupportedVersionOfGo string + MinSupportedVersionOfGo string + TargetGoVersion string + type Goroutine struct + CurrentLoc Location + GoStatementLoc Location + ID int64 + Labels map[string]string + StartLoc Location + Status uint64 + ThreadID int + Unreadable string + UserCurrentLoc Location + WaitReason int64 + WaitSince int64 + func ConvertGoroutine(tgt *proc.Target, g *proc.G) *Goroutine + func ConvertGoroutines(tgt *proc.Target, gs []*proc.G) []*Goroutine + type GoroutineField uint8 + const GoroutineCurrentLoc + const GoroutineFieldNone + const GoroutineGoLoc + const GoroutineLabel + const GoroutineRunning + const GoroutineStartLoc + const GoroutineUser + const GoroutineUserLoc + const GoroutineWaitingOnChannel + type GoroutineGroup struct + Count int + Name string + Offset int + Total int + type GoroutineGroupingOptions struct + GroupBy GoroutineField + GroupByKey string + MaxGroupMembers int + MaxGroups int + type Image struct + Address uint64 + LoadError string + Path string + func ConvertImage(image *proc.Image) Image + type ListGoroutinesFilter struct + Arg string + Kind GoroutineField + Negated bool + type LoadConfig struct + FollowPointers bool + MaxArrayValues int + MaxStringLen int + MaxStructFields int + MaxVariableRecurse int + func LoadConfigFromProc(cfg *proc.LoadConfig) *LoadConfig + type Location struct + File string + Function *Function + Line int + PC uint64 + PCPids []int + PCs []uint64 + func ConvertLocation(loc proc.Location) Location + type PackageBuildInfo struct + DirectoryPath string + Files []string + ImportPath string + type PrintGoroutinesFlags uint8 + const PrintGoroutinesExec + const PrintGoroutinesLabels + const PrintGoroutinesStack + type Register struct + DwarfNumber int + Name string + Value string + func ConvertRegisters(in *op.DwarfRegisters, ...) (out []Register) + type Registers []Register + func (regs Registers) String() string + type SetAPIVersionIn struct + APIVersion int + type SetAPIVersionOut struct + type StackTraceColors struct + BasenameColor string + FunctionColor string + NormalColor string + type Stackframe struct + Arguments []Variable + Bottom bool + Defers []Defer + Err string + FrameOffset int64 + FramePointerOffset int64 + Locals []Variable + func (frame *Stackframe) Var(name string) *Variable + type StacktraceOptions uint16 + const StacktraceG + const StacktraceReadDefers + const StacktraceSimple + type Target struct + CmdLine string + CurrentThread *Thread + Pid int + func ConvertTarget(tgt *proc.Target, convertThreadBreakpoint func(proc.Thread) *Breakpoint) *Target + type Thread struct + Breakpoint *Breakpoint + BreakpointInfo *BreakpointInfo + CallReturn bool + File string + Function *Function + GoroutineID int64 + ID int + Line int + PC uint64 + ReturnValues []Variable + func ConvertThread(th proc.Thread, bp *Breakpoint) *Thread + func ConvertThreads(threads []proc.Thread, convertBreakpoint func(proc.Thread) *Breakpoint) []*Thread + type TracepointResult struct + Addr uint64 + File string + FunctionName string + GoroutineID int + InputParams []Variable + IsRet bool + Line int + ReturnParams []Variable + type Variable struct + Addr uint64 + Base uint64 + Cap int64 + Children []Variable + DeclLine int64 + Flags VariableFlags + Kind reflect.Kind + Len int64 + LocationExpr string + Name string + OnlyAddr bool + RealType string + Type string + Unreadable string + Value string + func ConvertVar(v *proc.Variable) *Variable + func ConvertVars(pv []*proc.Variable) []Variable + func (v *Variable) MultilineString(indent, fmtstr string) string + func (v *Variable) SinglelineString() string + func (v *Variable) SinglelineStringFormatted(fmtstr string) string + func (v *Variable) SinglelineStringWithShortTypes() string + type VariableFlags uint16 + type WatchType uint8 + const WatchRead + const WatchWrite v0.0.1-alpha Jan 10, 2025