This course will introduces you to the Delve debugger for Go and shows how to use it from the command line as well as in a code editor.
This course will introduces you to the Delve debugger for Go and shows how to use it from the command line as well as in a code editor.
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.
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.