package
0.11.0-alpha
Repository: https://github.com/alexbrainman/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.
PtraceAttach executes the sys.PtraceAttach call.
PtraceCont executes ptrace PTRACE_CONT.
PtraceDetach calls ptrace(PTRACE_DETACH).
PtracePeekUser execute ptrace PTRACE_PEEK_USER.
PtracePokeUser execute ptrace PTRACE_POKE_USER.
PtraceSingleStep executes ptrace PTRACE_SINGLE_STEP.

# Constants

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.
1 runnable and on a run queue.
2.
3.
4.
Process statuses.
Process statuses.
Process statuses.
Process statuses.

# Structs

AMD64 represents the AMD64 CPU architecture.
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).
GoroutineExitingError is returned when the goroutine specified by `goid` is in the process of exiting.
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.
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 tracae.
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.
Regs is a wrapper for sys.PtraceRegs.
Stackframe represents a frame in a system stack.
StackIterator holds information required to iterate and walk the program 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