Skip to content
0:00 / 0:00

#gdb#debugging#reversibledebugging

CppCon 2016: Greg Law “GDB - A Lot More Than You Knew"

CppCon

189K subscribers • 136 videos on Hallway • Conference channel

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Greg Law, co-founder and CEO of Undo
  • Linked in the descriptioncppcon/cppcon2016

Intermediate. Assumes working knowledge.

73K views10 years ago2 recommendations

Tools and practiceSystems programmingDebuggingC++The shell and command line

Greg Law demonstrates lesser-known GDB features including reversible debugging, non-stop mode, multi-process debugging, and Python scripting.

CppCon.org — Presentation Slides, PDFs, Source Code and other presenter materials are available at: github.com/cppcon/cppcon2016 — If you’re writing C++ for anything other than Windows, chances are that you occasionally break out GDB. This session presents some of the lesser known features of GDB that can change the way you debug. GDB has come a long way in the last few years and now does so much more than break, print, step and continue. Reversible debugging; Non-Stop Mode; Multi-process Debugging; and Dynamic Printf are but some of its best features, and its built-in Python scripting is particularly powerful. Join Undo co-founder and CEO, Greg Law, as he takes you through a series of demos to show some amazing tricks with GDB and some of its powerful new (and not-so-new) features that you may not have heard of. — Greg Law CEO, Undo Ltd Greg is a software geek at heart, but likes to keep one foot in the software world and one foot in the business world. He finds it particularly rewarding to turn innovative software technology into “real” business development. Greg has over 20 years of experience in both academia and innovative start-up software companies. In 2005 he co-founded Undo Software, which he now runs. — Videos Filmed & Edited by Bash Films: BashFilms.com Work at Hudson River Trading (HRT): tinyurl.com/safxfctf

Why it's here

2 people recommend this

What people say. Highly recommended for learning how to use GDB effectively instead of relying on print statements for debugging.

Moments people linked to

u/gerwant_of_rivierain r/embedded • Recommends

On “Looking for a video about openOCD and GDB”

This seems to check your boxes: [video And if not, it's still a pretty good educational video!
3View on Reddit

u/piadodjanhoin r/C_Programming • Recommends

On “Programming tutorials should teach how to plan and design at the start.”

I highly recommend watching this GDB tutorial. If you get to used to use GDB instead of printf for debuging you will start ahead in the game. GBD makes easier to debug code and understand pointers. Also, another day someone posted in this community some discussion on another syntax to represent pointers, you should check that out.