# Functions
AMD64Arch returns an initialized AMD64 struct.
AppendDwordReg appends a double word (32 bit) register to regs.
AppendEflagReg appends EFLAG register to regs.
AppendMxcsrReg appends MXCSR register to regs.
AppendQwordReg appends a quad word (64 bit) register to regs.
AppendSSEReg appends a 256 bit SSE register to regs.
AppendWordReg appends a word (16 bit) register to regs.
AppendX87Reg appends a 80 bit float register to regs.
Continue continues execution of the debugged process.
ConvertEvalScope returns a new EvalScope in the context of the specified goroutine ID and stack frame.
Disassemble disassembles target memory between startPC and endPC, marking the current instruction being executed in goroutine g.
FindFileLocation returns the PC for a given file:line.
FindFunctionLocation finds address of a function's line If firstLine == true is passed FindFunctionLocation will attempt to find the first line of the function If lineOffset is passed FindFunctionLocation will return the address of that line Pass lineOffset == 0 and firstLine == false if you want the address for the function's entry point Note that setting breakpoints at that address will cause surprising behavior: https://github.com/derekparker/delve/issues/170.
FindGoroutine returns a G struct representing the goroutine specified by `gid`.
FirstPCAfterPrologue returns the address of the first instruction after the prologue for function fn If sameline is set FirstPCAfterPrologue will always return an address associated with the same line as fn.Entry.
FrameToScope returns a new EvalScope for this frame.
GetG returns information on the G (goroutine) that is executing on this thread.
GoroutineScope returns an EvalScope for the goroutine running on this thread.
GoroutinesInfo returns an array of G structures representing the information Delve cares about from the internal runtime G structure.
LinuxX86XstateRead reads a byte array containing an XSAVE area into regset.
No description provided by the author
Next continues execution until the next source line.
SameGoroutineCondition returns an expression that evaluates to true when the current goroutine is g.
Step will continue until another source line is reached.
StepOut will continue until the current goroutine exits the function currently being executed or a deferred function is executed.
ThreadScope returns an EvalScope for this thread.
ThreadStacktrace returns the stack trace for thread.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
8 in this state when newstack is moving the stack.
6.
7 Only the Gscanenqueue is used.
0.
5 currently unused, but hardcoded in gdb scripts.
No description provided by the author
1 runnable and on a run queue.
2.
3.
4.
No description provided by the author
NextBreakpoint is a breakpoint set by Next, Continue will stop on it and delete it.
NextDeferBreakpoint is a breakpoint set by Next on the first deferred function.
StepBreakpoint is a breakpoint set by Step on a CALL instruction, Continue will set a new breakpoint (of NextBreakpoint kind) on the destination of CALL, delete this breakpoint and then continue again.
No description provided by the author
UserBreakpoint is a user set breakpoint.
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.
VariableShadowed is set for local variables that are shadowed by a variable with the same name in another scope.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
AMD64 represents the AMD64 CPU architecture.
No description provided by the author
No description provided by the author
Breakpoint represents a breakpoint.
BreakpointExistsError is returned when trying to set a breakpoint at an address that already has a breakpoint set for it.
Checkpoint is a checkpoint.
EvalScope is the scope for variable evaluation.
G represents a runtime G (goroutine) structure (at least the fields that Delve is interested in).
InvalidAddressError represents the result of attempting to set a breakpoint at an invalid address.
IsNilErr is returned when a variable is nil.
LinuxX86Xstate represents amd64 XSAVE area.
No description provided by the author
Location represents the location of a thread.
NoBreakpointError is returned when trying to clear a breakpoint that does not exist.
NoGError returned when a G could not be found for a specific thread.
NoReturnAddr is returned when return address could not be found during stack trace.
NullAddrError is an error for a null address.
ProcessExitedError indicates that the process has exited and contains both process id and exit status.
tracks user_fpregs_struct in /usr/include/x86_64-linux-gnu/sys/user.h.
No description provided by the author
Stackframe represents a frame in a system stack.
ThreadBlockedError is returned when the thread is blocked in the scheduler.
Variable represents a variable.
# Interfaces
If the argument of GoroutinesInfo implements AllGCache GoroutinesInfo will use the pointer returned by AllGCache as a cache.
Arch defines an interface for representing a CPU architecture.
BreakpointManipulation is an interface for managing breakpoints.
GoroutineInfo is an interface for getting information on running goroutines.
Info is an interface that provides general information on the target.
MemoryReader is like io.ReaderAt, but the offset is a uintptr so that it can address all of 64-bit memory.
No description provided by the author
Process represents the target of the debugger.
ProcessManipulation is an interface for changing the execution state of a process.
RecordingManipulation is an interface for manipulating process recordings.
Registers is an interface for a generic register type.
Thread represents a thread.
ThreadInfo is an interface for getting information on active threads in the process.
# Type aliases
No description provided by the author
No description provided by the author
Breakpoint Kind determines the behavior of delve when the breakpoint is reached.
No description provided by the author
No description provided by the author
No description provided by the author