package
0.12.2
Repository: https://github.com/rfay/delve.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AMD64Arch returns an initialized AMD64 struct.
Attach to an existing process with the given PID.
Launch creates and begins debugging a new process.
New returns an initialized Process struct.
No description provided by the author
No description provided by the author
PtraceAttach executes the sys.PtraceAttach call.
PtraceCont executes ptrace PTRACE_CONT.
PtraceDetach calls ptrace(PTRACE_DETACH).
PtraceGetRegset returns floating point registers of the specified thread using PTRACE.
PtracePeekUser execute ptrace PTRACE_PEEK_USER.
PtracePokeUser execute ptrace PTRACE_POKE_USER.
PtraceSingleStep executes ptrace PTRACE_SINGLE_STEP.

# 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
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.
Process statuses.
Process statuses.
Process statuses.
Kernel 2.6 has TraceStop as T TODO(derekparker) Since this means something different based on the version of the kernel ('T' is job control stop on modern 3.x+ kernels) we may want to differentiate at some point.
Process statuses.
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.
UserBreakpoint is a user set breakpoint.

# 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.
EvalScope is the scope for variable evaluation.
G represents a runtime G (goroutine) structure (at least the fields that Delve is interested in).
GoVersion represents the Go version of the Go compiler version used to compile the target binary.
InvalidAddressError represents the result of attempting to set a breakpoint at an invalid address.
IsNilErr is returned when a variable is nil.
No description provided by the author
Location represents the location of a thread.
M represents a runtime M (OS thread) structure.
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.
OSProcessDetails contains Linux specific process details.
OSSpecificDetails hold Linux specific process details.
Process represents all of the information the debugger is holding onto regarding the process we are debugging.
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
No description provided by the author
Regs is a wrapper for sys.PtraceRegs.
Stackframe represents a frame in a system stack.
Thread represents a single thread in the traced process ID represents the thread id or port, Process holds a reference to the Process struct that contains info on the process as a whole, and Status represents the last result of a `wait` call on this thread.
ThreadBlockedError is returned when the thread is blocked in the scheduler.
Variable represents a variable.

# Interfaces

Arch defines an interface for representing a CPU architecture.
Registers is an interface for a generic register type.

# 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