Special offers now — see discounted courses.
day
:
hour
:
min
:
sec
See special offers
Debugging in Go

Debugging in Go

1h 9mIntermediate2024-06-10

Authors

Derek Parker

Derek Parker

Course details

Get hands-on experience debugging Go programs using Delve, the Go debugger. The course is meant for developers who are already experienced and comfortable writing Go programs who want to be able to debug those programs when something goes wrong. Instructor Derek Parker first helps you master usage of Delve at the command line and within Visual Studio Code, and then shows you how to build on that in order to debug increasingly complex problems. Take this course to gain practical knowledge of Delve and how to use a debugger effectively for root cause analysis.

Skills covered

GoProgramming FoundationsGoogleProgramming LanguagesSoftware DevelopmentOne-Off

Concepts

0. Introduction

  • 01 - Adding Delve to your development toolbox
  • 02 - Working with the exercise files and GitHub Codespaces

1. Starting the Debugger

  • 03 - Exec - Debug precompiled binaries
  • 04 - Debug - Sit back, relax, and debug
  • 05 - Attach - Debug a running binary
  • 06 - Test - Debugging test code

2. Manipulating and Viewing the Program State

  • 07 - Controlling program execution
  • 08 - Setting breakpoints, tracepoints, and watchpoints
  • 09 - Goroutines and threads
  • 10 - Viewing program memory

3. Basic Root Cause Analysis

  • 11 - Introducing a program with a bug
  • 12 - Finding a bug with Delve
  • 13 - Fixing a bug by manipulating state in the debugger

4. Debugging an Unresponsive Program

  • 14 - Starting a program, observing the output
  • 15 - Attaching the debugger to a running program
  • 16 - Finding the root cause

5. Program Tracing

  • 17 - What is tracing
  • 18 - Using strace
  • 19 - Tracing with Delve

Conclusion

  • 20 - Continue on this journey into debugging

Related courses

Related learn paths

About us

LyndaKade is a leading learning platform that helps people learn business, software, technology, and creative skills to achieve personal and professional goals.

Phone numberAparat ChannelTelegram SupportTelegram ChannelInstagram Page

All rights to this site belong to LyndaKade.

Terms of Service|Privacy Policy

نماد الکترونیک enamad در صورت اتصال با آی‌پی داخل کشور، نمایش داده خواهد شد.
logo-samandehi - لوگو ساماندهی
zarinpal
zibal