CppCon 2015: Greg Law " Give me 15 minutes & I'll change your view of GDB"
Channel:CppCon · Length:14:46 · Published:2015-10-21 · Views:271155
Summary
Greg Law's 15-minute CppCon 2015 lightning talk shows what GDB can do beyond basic use, including its text user interface and reverse debugging.
Why HN recommends it
Recommended as a fast, brilliant introduction to GDB's TUI mode and lesser-known features, useful for anyone who has only used IDE debuggers.
this brilliant short talk (15min) about gdb's TUI. — HN, 2018
C, C++, Rust, Go & systems languages · Testing, debugging & developer tools
Subtitles (excerpt)
all right so um so first of all uh apologies to any Windows devs um because firstly this is kind of probably not going to be very interesting to you guys and um secondly well just I'm I'm sorry for you um but maybe you'll maybe you'll come across so we're going to show a couple of things in uh in GDB that I found over the years um so we deal a lot with so so we make this uh this tool called undb which is well the most common interface to it probably is GDB so a lot of our customers spend their time uh in GDB and and we we work with them and sometime often it's more they're looking at how to do something in GDB and I've kind of picked up some good stuff uh over the years that I thought it might be interesting to share um so probably so yeah so I just want to uh start by by saying so I would be the first person to admit that GDB is not intuitive right um but it is very powerful and I think there's an important distinction to make between ease of use and ease of learning and it's not easy to learn but it is easy to use uh when you when you get to learn it and it's not that hard to learn right sometimes you just need to to know that these things exist so um so here's a here's a pretty simple program not much more than hello world but it's got a
On Hacker News
Seems like a I cannot edit my post, but I just remembered this brilliant short talk (15min) about gdb's TUI. [VIDEO] It really did change my opinion of gdb in just 15 min. — zython, 2018-01
"You only need a tablet" (and remote infrastructure for actually writing your code on since a tablet won't work for 99% of assignments) I did the same thing in college, but with a Chromebook. I rented a VPS from Vultr and ssh'd in to write C and Java assignments with vim. VPS was $5/mo. Chromebooks can still write javascript code and run via the web browser, and you can actually mount a remote dr… — shortrounddev2, 2023-07
I'd also recommend "Give me 15 minutes and I'll change your view of GDB" [1] by Greg Law at CppCon 2015. As someone who wasn't very familiar with GDB, I learned a lot from seeing it used by someone skilled. [1]: [VIDEO] — slavik81, 2022-03
Nice! There is already a TUI in gdb albeit not as good looking. For more info, there is a quick talk about it and other niceties that you may not know about: [VIDEO] — skywal_l, 2022-03
> So anything like this on Linux sounds like a very positive step forward. GDB has had reverse debugging since 2009 and there are other tools like rr and a few commercial ones. If anything I'd say that you calling it time travel debugging instead of reverse debugging demonstrates how insular the windows developer world is more than the windows platform being ignored. A great demonstration is in t… — flukus, 2021-05
Related videos
- Wild Tricks for Greenscreen in Blender · IanHubert · 9:50
- Blender Motion Tracking - Room Transformation! · IanHubert · 7:57
- CppCon 2017: Herb Sutter “Meta: Thoughts on generative C++” · CppCon · 1:47:44
- But what is the Riemann zeta function? Visualizing analytic continuation · 3Blue1Brown · 20:28
- CppCon 2017: Louis Brandy “Curiously Recurring C++ Bugs at Facebook” · CppCon · 52:01
- CppCon 2014: Chandler Carruth "Efficiency with Algorithms, Performance with Data Structures" · CppCon · 1:13:41
- How wildlife trade is linked to coronavirus · Vox · 8:48
- 1177 BC: The Year Civilization Collapsed (Eric Cline, PhD) · National Capital Area Skeptics (NCAS) · 1:10:17
- JPEG DCT, Discrete Cosine Transform (JPEG Pt2)- Computerphile · Computerphile · 15:11
- RailsConf 2014 - All the Little Things by Sandi Metz · Confreaks · 38:47
- CppCon 2015: Andrei Alexandrescu “std::allocator...” · CppCon · 1:12:27
- Lexical Scanning in Go - Rob Pike · GoogleFOSSSydney · 51:17
- "Testing Distributed Systems w/ Deterministic Simulation" by Will Wilson · Strange Loop Conference · 40:20
- 🚀 TDD, Where Did It All Go Wrong (Ian Cooper) · DevTernity Conference · 1:03:55
- Bret Victor - Inventing on Principle · Rui Oliveira · 54:20
- Solving Problems the Clojure Way - Rafal Dittwald · Clojure/north · 1:02:26