Skip to content

derekparker/ultimate-go-debugging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Ultimate Go Debugging Course

This repo holds the example code and course information for the Ultimate Go Debugging course.

This course will teach you various techniques that can be used to debug a Go program.

Getting Started

First, you should have the latest version of Go. You can get the latest version from https://go.dev/dl/. Once you download the tarball follow the instructions on https://go.dev/doc/install to install Go on your system. To verify a correct Go install run the following command:

go version

You should see output similar to:

go version go1.17.6 linux/amd64

Second, once you have Go installed you must install Delve. You can install the latest version of Delve via:

go install github.com/go-delve/delve/cmd/dlv@latest

You can verify Delve has been correctly installed by running the following command:

dlv help

The full install documentation is here if needed.

What we will cover

Day 1

  • Basics of using Debugging
  • Intro into CLI usage
  • Getting familiar with debugging mindset
  • How debuggers work

Day 2

  • Deeper dive into debug commands within debug session
  • How to debug core dumps
  • Record & Replay debugging

Day 3

  • Introduction to JSON-RPC API
  • How to use JSON-RPC API
  • How to script the debugger
  • Remote debugging

Day 4

  • Debugging in containers
  • Debugging in Kubernetes

Day 5

  • Debugging through performance analysis
  • How to use pprof
  • How to use perf
  • Deep dive into Delve internals
  • Deep dive into Go internals
  • Wrapup

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published