# Functions
ConvertAsmInstruction converts from proc.AsmInstruction to api.AsmInstruction.
ConvertDumpState converts proc.DumpState to api.DumpState.
ConvertFunction converts from gosym.Func to api.Function.
ConvertGoroutine converts from proc.G to api.Goroutine.
ConvertGoroutines converts from []*proc.G to []*api.Goroutine.
ConvertImage converts proc.Image to api.Image.
ConvertLocation converts from proc.Location to api.Location.
ConvertLogicalBreakpoint converts a proc.LogicalBreakpoint into an API breakpoint.
ConvertPhysicalBreakpoints adds information from physical breakpoints to an API breakpoint.
ConvertRegisters converts proc.Register to api.Register for a slice.
ConvertTarget converts a proc.Target into a api.Target.
ConvertThread converts a proc.Thread into an api thread.
ConvertThreads converts a slice of proc.Thread into a slice of api.Thread.
ConvertVar converts from proc.Variable to api.Variable.
ConvertVars converts from []*proc.Variable to []api.Variable.
LoadConfigFromProc converts a proc.LoadConfig to api.LoadConfig.
LoadConfigToProc converts an api.LoadConfig to proc.LoadConfig.
PrettyExamineMemory examine the memory and format data
`format` specifies the data format (or data type), `size` specifies size of each data, like 4byte integer, 1byte character, etc.
ValidBreakpointName returns an error if the name to be chosen for a breakpoint is invalid.
# Constants
Call resumes process execution injecting a function call.
Continue resumes process execution.
DirectionCongruentContinue resumes process execution, if a reverse next, step or stepout operation is in progress it will resume execution backward.
GNUFlavour will disassemble using GNU assembly syntax.
GoFlavour will disassemble using Go assembly syntax.
the goroutine's CurrentLoc.
the goroutine's GoStatementLoc.
the goroutine's label.
the goroutine is running.
the goroutine's StartLoc.
the goroutine is a user goroutine.
the goroutine's UserLoc.
the goroutine is waiting on the channel specified by the argument.
Halt suspends the process.
IntelFlavour will disassemble using Intel assembly syntax.
Next continues to the next source line, not entering function calls.
NextInstruction continues for 1 cpu instruction, skipping over CALL instructions.
ReverseNext continues backward to the previous line of source code, not entering function calls.
ReverseNextInstruction reverses execution for 1 cpu instruction, skipping over CALL instructions.
ReverseStep continues backward to the previous line of source code, entering function calls.
ReverseStepInstruction reverses execution for exactly 1 cpu instruction.
ReverseStepOut continues backward to the caller of the current function.
Rewind resumes process execution backwards (target must be a recording).
StacktraceG requests a stacktrace starting with the register values saved in the runtime.g structure.
StacktraceReadDefers requests a stacktrace decorated with deferred calls for each frame.
StacktraceSimple requests a stacktrace where no stack switches will be attempted.
Step continues to next source line, entering function calls.
StepInstruction continues for exactly 1 cpu instruction.
StepOut continues to the return address of the current function.
SwitchGoroutine switches the debugger's current thread context to the thread running the specified goroutine.
SwitchThread switches the debugger's current thread context.
VariableArgument means this variable is a function argument.
VariableConstant means this variable is a constant value.
VariableCPtr means the variable is a C pointer.
VariableCPURegister means this variable is a CPU register.
VariableEscaped is set for local variables that escaped to the heap
The compiler performs escape analysis on local variables, the variables that may outlive the stack frame are allocated on the heap instead and only the address is recorded on the stack.
VariableFakeAddress means the address of this variable is either fake (i.e.
VariableReturnArgument means this variable is a function return value.
VariableShadowed is set for local variables that are shadowed by a variable with the same name in another scope.
# Variables
ErrNotExecutable is an error returned when trying to debug a non-executable file.
# Structs
Ancestor represents a goroutine ancestor.
AsmInstruction represents one assembly instruction at some address.
Breakpoint addresses a set of locations at which process execution may be suspended.
BreakpointInfo contains information about the current breakpoint.
Checkpoint is a point in the program that can be returned to in certain execution modes.
DebuggerCommand is a command which changes the debugger's execution state.
DebuggerState represents the current context of the debugger.
Defer describes a deferred function.
DiscardedBreakpoint is a breakpoint that is not reinstated during a restart.
DumpState describes the state of a core dump in progress.
EvalScope is the scope a command should be evaluated in.
Function represents thread-scoped function information.
GetVersionIn is the argument for GetVersion.
GetVersionOut is the result of GetVersion.
Goroutine represents the information relevant to Delve from the runtime's internal G structure.
GoroutineGroup represents a group of goroutines in the return value of the ListGoroutines API call.
GuessSubstitutePathIn are the input parameters used to guess a substitute-path configuration automatically.
Image represents a loaded shared object (go plugin or shared library).
ListGoroutinesFilter describes a filtering condition for the ListGoroutines API call.
LoadConfig describes how to load values from target's memory.
Location holds program location information.
PackageBuildInfo maps an import path to a directory path.
Register holds information on a CPU register.
SetAPIVersionIn is the input for SetAPIVersion.
SetAPIVersionOut is the output for SetAPIVersion.
Stackframe describes one frame in a stack trace.
Target represents a debugging target.
Thread is a thread within the debugged process.
Variable describes a variable.
# Type aliases
AsmInstructions is a slice of single instructions.
AssemblyFlavour describes the output of disassembled code.
GoroutineField allows referring to a field of a goroutine object.
Registers is a list of CPU registers.
StacktraceOptions is the type of the Opts field of StacktraceIn that configures the stacktrace.
VariableFlags is the type of the Flags field of Variable.
WatchType is the watchpoint type.