~/talk

Debugging Go programs with Delve

Talkat DevFest Nantes 2017 · 2017-10-19..10-20· [linux-and-operating-systems]
links:none on file
slides:none on file

Delve is a Go-specific debugger that compiles programs without optimizations, uses ptrace on Linux (and Darwin/Windows backends) and exposes a JSON-RPC API for editor/front-end integration (VS Code, JetBrains, Emacs). It follows goroutines across thread context switches, understands interfaces/slices/maps, auto-stops on panic, can attach to running processes, inspect core dumps and run lightweight traces. Pluggable backends let it leverage gdb/LLDB or a record-replay backend (Mozilla rr) to enable deterministic time-travel debugging.

AI-written summary · about

  1. 0:00Introduction and core OS
  2. 3:01Introduction to delve
  3. 5:35Delve architecture and goals
  4. 8:31Design philosophy
  5. 10:20API and remote debugging
  6. 13:06IDE and UI integration
  7. 16:18Backend plugins and replay
  8. 19:03Why delve for go
  9. 20:45Debugging concurrency
  10. 22:22Go type support
  11. 24:57The go runtime scheduler
  12. 31:23Compilation and optimizations
  13. 33:37Dwarf debug information
  14. 39:05Operating system internals
  15. 40:17Delve vs other debuggers
  16. 43:34Basic command usage
  17. 45:53Tips, tricks, and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.