---
title: GDB Training
---

×

![RGB-undologo white transparent background@3x](https://info.undo.io/hs-fs/hubfs/RGB-undologo%20white%20transparent%20background@3x.png?width=100&height=31&name=RGB-undologo%20white%20transparent%20background@3x.png)

# GDB Training

## Master GDB and save time debugging

We design bespoke 1-2 day courses for **teams of C++ engineers** wanting to get more productive when debugging large complex codebases.

**Trainers**: Greg Law and Mark Williamson  
**Format**: On-site training/workshop for your team

### Fill in the form to register your interest

## Software engineers spend far more time debugging their code than they do typing it.

#### GDB can be a powerful tool to cut dramatically the time it takes to diagnose the root cause of bugs. But most GDB users have only just scratched the surface of what it can do.

 

**What you will learn in this course:**

- Getting the most out of basic GDB operations e.g. stepping commands, breakpoints, watchpoints, catchpoints, dprintf, TUI mode
- Advanced debugging e.g. stepping past uninteresting functions, debugging multithreaded issues, debugging optimised code, time travel debugging in GDB's built-in functionality
- Pretty printers: what they are, how to enable them, how to write a customer pretty printer

## MORE ABOUT THE SPEAKER

![Greg_Law_WSJ](https://info.undo.io/hubfs/Greg_Law_WSJ.jpeg)

#### Dr Greg Law Founder / CEO

Greg is a renowned C/C++ conference speaker and founder of [Undo](https://undo.io/) <https://undo.io/>(the time travel debugging company for Linux).

Greg has 20 years’ experience in the software industry and has held development and management roles at the pioneering British computer firm Acorn, as well as fast-growing start ups, NexWave and Solarflare.

Greg holds a PhD from City University, London. He lives in Cambridge, UK where he founded Undo to help ease the pain of debugging complex software. 

---

### Getting the most out of basic GDB operations

- Stepping commands and how to use them
- Breakpoints, watchpoints and catchpoints (including conditions, attached commands, etc)
- dprintf (hybrid debugging / logging)
- TUI mode (hybrid ncurses “GUI”)

![image (18)](https://info.undo.io/hs-fs/hubfs/image%20(18).png?width=600&height=600&name=image%20(18).png)

![image (17)](https://info.undo.io/hs-fs/hubfs/image%20(17).png?width=600&height=601&name=image%20(17).png)

### Advanced debugging

- Stepping past uninteresting functions
- Compiling/injecting code from the debugger
- Tracing exception throw paths
- Debugging multithreading issues  
  Non-stop mode  
  Thread-specific breakpoints  
  Manipulating threads
- Debugging optimized code (with or without Link Time Optimization)
- Time travel debug (demonstrating GDB’s built-in functionality or rr so that no commercial software is needed for this part)

### Pretty printers and pitfalls & tricks

- What they are, how to enable them (e.g. STL-provided pretty printers)
- How to write a custom pretty printer
- The right tool for the job 
    - Overview of other checkers/sanitizers, debug techniques, etc
    - Other debuggers
    - Logging
    - Coverage
    - Profiling

![image (18)](https://info.undo.io/hs-fs/hubfs/image%20(18).png?width=600&height=600&name=image%20(18).png)

![RGB-undologo white transparent background@3x](https://info.undo.io/hs-fs/hubfs/RGB-undologo%20white%20transparent%20background@3x.png?width=100&height=31&name=RGB-undologo%20white%20transparent%20background@3x.png)

# GDB Training

## Master GDB and save time debugging

We design bespoke 1-2 day courses for **teams of C++ engineers** wanting to get more productive when debugging large complex codebases.

**Trainers**: Greg Law and Mark Williamson  
**Format**: On-site training/workshop for your team

### Fill in the form to register your interest

Copyright © 2026 Undo  All Rights Reserved

 

![](https://dc.ads.linkedin.com/collect/?pid=418850&fmt=gif)