aarzilli/gdlv: GUI frontend for Delve
ilmari-h/dlvtui: TUI Go debugger, frontend for Delve. WIP
Golang debugger.
sudo apt install delve
| Command | Purpose | Notes |
|---|---|---|
r | Run / restart program | Restarts target execution |
c | Continue execution | Runs until next breakpoint/event |
stepout | Exit current function | Useful for escaping Go runtime internals |
step | Step into next source instruction | Often unstable in optimized Go binaries |
ni | Next machine instruction | Most reliable stepping method in optimized Go |
next | Step over source line | Frequently breaks in optimized Go |
regs | Show CPU registers | Displays RIP/PC/SP/etc |
locals | Show local variables | Current frame locals |
args | Show function arguments | Current function arguments |
goroutines | List goroutines | Shows active Go goroutines |
goroutine | Switch active goroutine | Focus execution context |
threads | List OS threads | Lower-level thread view |
thread | Switch active thread | Change current OS thread |
bp | List breakpoints | Shows all active breakpoints |
disass | Disassemble current function/location | Core command for optimized Go reversing |