Description
Course info
Level
Intermediate
Updated
Jul 10, 2017
Duration
2h 6m
Description

When Go was first released in 2012, there were limited options for debugging Go code. Most debugging work was handled by the open-sourced debugger "GDB". While this tool provided some help, it was not designed to work with several important Go language features – most notably goroutines. There have been several attempts to address the lack of a native debugger over the years. Eventually, Derek Parker's Delve tool took the lead and is now one of the most common tools for debugging Go applications. In this course, Debugging Go Applications with Delve, you'll take a deep dive into the Delve debugger and learn how to work with it to fully understand and analyze bugs that creep up in a Go application. First, you'll explore and manipulate an application's state during a debugging session. Next, you'll learn how to use breakpoints, conditional breakpoints, and tracepoints. Then, you'll discover the numerous ways that Delve can start a debugging session. Finally, you'll learn how to access Delve from a code editor. By the end of this course, you'll know how to use Delve from the command line as well as how to access it from your favorite editor.

About the author
About the author

Michael Van Sickle is an application architect in Akron, Ohio. He is a mechanical engineer by training and a software engineer by choice. He is passionate about learning new programming languages and user experience design.

More from the author
Deep Dive into Go Packages
Intermediate
1h 34m
Jul 29, 2019
Go: Getting Started
Beginner
3h 29m
Jun 28, 2019
Go: The Big Picture
Beginner
1h 48m
May 22, 2019
More courses by Mike Van Sickle
Section Introduction Transcripts
Section Introduction Transcripts

Course Overview
Hi everyone. My name is Michael Van Sickle, and welcome to my course, Debugging Go Applications with Delve. When Go was first released in 2012, there were limited options for debugging Go code. Most debugging work was handled by the open source debugger GDB. While this tool provided some help, it was not designed to work with several important Go language features, most notably goroutine. Derek Parker's Delve has taken the lead and is now one of the most common tools for debugging Go applications. In this course, we're going to take a deep dive into the Delve tool and learn how it can help us debug our Go code. Some of the major topics that we will cover include, how to explore and manipulate an application state during a debugging session, how to use breakpoints, conditional breakpoints, and tracepoints, the numerous ways that Delve can start a debugging session, and how to access Delve from a code editor. By the end of the course, you'll know how to use Delve from the command line, as well as how to access it from your favorite editor. Before beginning the course, you should be familiar with the Go language. I hope you'll join me on this journey to learn Delve with the Debugging Go Applications with Delve course, at Pluralsight.