Skip to content
0:00 / 0:00

#gdb#debugging#tui

GDB Tutorial

CS 246

1.9K subscribers • 1 video on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Joshua Rampersad, University of Waterloo

Beginner. No background in the topic needed.

99K views7 years ago2 recommendations

Tools and practiceSystems programmingDebuggingThe shell and command lineC

Joshua Rampersad delivers a comprehensive tutorial on using the GNU Project Debugger, including its text user interface.

Tutorial on the GNU Project Debugger given at the University of Waterloo on the 14th of June 2019 by Joshua Rampersad.

Why it's here

2 people recommend this

What people say. Recommended as a great starting point and powerful guide for learning how to use GDB.

u/barrowburnerin r/Zig • Recommends

On “Zig, VSCode debugging, and Linux”

I'm using `gdb` and it works great. Takes a bit to get used to if you're not at home in text user interfaces, but it's incrediby powerful. Seriously, compared to graphical debugging front-ends, this is like escaping the matrix. compile with `zig build`, optionally with an `@breakpoint()`, and then enter `gdb`: ``` $ gdb /path/to/executable ``` or ``` $ gdb --tui /path/to/executable ``` If you don't include a breakpoint in source, then when you start the program in gdb, it'll ask you if you want to add temporary breakpoint to `main()`. The `tui` displays code lines in a text window above your CLI. It is a bit glitchy, but if the display glitches out on you, use `ctrl + l` to reset it and c…

u/karthik_20in r/C_Programming • Recommends

On “Getting started with GDB”

link to this video