I find this reference card sooooo helpful and it even taught me a few features I didn't know. https://users.ece.utexas.edu/~adnan/gdb-refcard.pdf Keep it handy :) Answer from dyntaos on reddit.com
🌐
Reddit
reddit.com › r/c_programming › a quick intro to gdb.
r/C_Programming on Reddit: A quick intro to gdb.
May 28, 2023 -

GDB Quick Guide

I found out I didn't need cgdb by the way, it was better to just gdb -tui on Debian. Less modem noise in the form of uninterpreted escape sequences too.

So it paid up to do gdb -help.

The guide doesn't mention watch or watch -l but it points to Debugging with GDB where you can find everything.

It is a good quick start, with a couple of examples.

🌐
Reddit
reddit.com › r/c_programming › any good gdb tutorial video series out there?
r/C_Programming on Reddit: Any good GDB tutorial video series out there?
June 28, 2015 -

I recently started a big boy job and have slowly transitioned into doing nothing but C programming, and I am working with a large enough code base, much of which is asynchronous, that I am past the point of being able to debug with prinft and friends. I'm looking for a GDB web tutorial that spans from basics to more advanced techniques. If not are there any books that you'd recommend? Thanks.

🌐
Reddit
reddit.com › r/cpp › protips for gdb?
r/cpp on Reddit: Protips for GDB?
July 16, 2020 -

I use vscode for debugging and I just realize *myptr@len works in the watch window. IIRC the debug prompt there is gdb but I know very little. I should learn GDB

Do you guys have any protips about what I should learn/use ASAP? Somehow I have never seen @ in any gdb tutorials I looked at so I prefer to know a little so I can tell if the tutorial is low quality/missing a lot

🌐
Reddit
reddit.com › r/programming › beej's quick guide to gdb
r/programming on Reddit: Beej's Quick Guide to GDB
September 17, 2017 - Thanks for the suggestion. I haven't tried it, but from what I can tell, it looks like a fancy GDB-TUI as opposed to a proper GUI debugger.
🌐
Reddit
reddit.com › r/programming › tutorial: using gnu's gdb debugger
r/programming on Reddit: Tutorial: Using GNU's GDB Debugger
March 23, 2007 - The official documentation seems way better. I dont know if a gdb tutorial that starts with why not just use printf knows its target audience.
Find elsewhere
🌐
Reddit
reddit.com › r/linuxquestions › gdb learning resources for a beginner
r/linuxquestions on Reddit: GDB Learning Resources for a beginner
September 15, 2023 -

Hello, I’m working with c/c++ and want to learn debugging. On reviewing i found to make use of GDB and Valgrind. I went up ahead on internet and searched through and got so many resources, will like reviews from you people on a good resource to begin learning them.

In my life when i was learning c/c++ i found many resources over time and recently discovered KN KING book and loved it. Honestly, i regret why i couldn’t spot it earlier because i never asked for it from people and real experiences, i picked the book what my course suggested and honestly the book was horrible.

This time since I’m going to pick up a new thing to learn i want to directly choose a good community recommendation, rather than spending a lot of time to go through multiple options try them and after few months find that something was missed there, I want to stick to one and give it time and my effort.

Many thanks for reading this.

🌐
Reddit
reddit.com › r/programming › give me 15 minutes & i'll change your view of gdb -greg law
r/programming on Reddit: Give me 15 minutes & I'll change your view of GDB -Greg Law
April 21, 2017 - That's the issue. That's it. That's the whole problem. All the programs you mention; gdb, vim, emacs. They all suffer from the same problem. They are horrifically unintuitive. We've learned a lot in the last 40-50 years.
🌐
Reddit
reddit.com › r/c_programming › getting started with gdb
r/C_Programming on Reddit: Getting started with GDB
October 7, 2023 - IMHO, the examples ought to use debug level 3, as in -g3 — or if you really insist, -ggdb3. (These days the gdb part is archaic, from a time before DWARF took off.) It includes extras like macro values — really handy at times.
🌐
Reddit
reddit.com › r/learnprogramming › using gdb as a learning tool
r/learnprogramming on Reddit: Using GDB as a learning tool
February 26, 2022 -

G'day, I've been learning C for a fair while now. I'm currently just playing around on HackerRank, trying to get 'job ready'.

Printing patterns is something I just haven't been able to get my head around quite yet. But stepping through other people's code/my own code with GDB has been extremely helpful. Just thought I'd share this little tip, as you get to really visualize what is going on.

🌐
Red Hat
developers.redhat.com › articles › the-gdb-developers-gnu-debugger-tutorial-part-1-getting-started-with-the-debugger
The GDB developer's GNU Debugger tutorial, Part 1: Getting started with the debugger | Red Hat Developer
February 27, 2024 - Instead of simply demonstrating a handful of useful commands, each article in this series will focus on one aspect of using GDB from the perspective of someone who develops GDB. I use GDB daily, and these tips and tricks are the ones that I (and many other advanced GDB users and developers) use to streamline our debugging sessions.
🌐
Reddit
reddit.com › r/hacking_tutorials › gdb tutorial
r/Hacking_Tutorials on Reddit: GDB Tutorial
September 6, 2019 - Hacking Tutorials is a sub where Redditors can post various resources that discuss and teach the art of hacking and pentesting while staying ethical and legal. WE ARE NOT HERE TO PROVIDE/PROMOTE ANY KIND OF HACKING SERVICES. STAY LEGAL ! ... This article explains GDB and its commands.
🌐
Reddit
reddit.com › r/learnprogramming › [c++]what is the best way to learn to use gdb with mingw g++?
r/learnprogramming on Reddit: [C++]What is the best way to learn to use GDB with MinGW G++?
January 15, 2014 -

Hello denizens of r/learnprogramming:

So I've been learning C++ and I've gotten to the point where I've started writing larger programs where I need to use a debugger to help me fix my code. I'm using MinGW G++ and it comes with GDB. I don't know how to used GDB. The book that I'm using to learn C++ doesn't cover debugging, because that is tool specific.

So what are some good guides or tutorials for using GDB in MinGW on MS Windows?

-u/lead999x

🌐
Reddit
reddit.com › r/linuxquestions › gdb tutorial/book?
r/linuxquestions on Reddit: Gdb tutorial/book?
October 14, 2020 -

Despite how popular gdb is I cant find some good tutorial for gdb when I google it. All I can find are some basic stuff (how to install it, start it, basic breakpoint things...). Is there some website, youtube playlist or book explaining gdb in much detail?

🌐
Reddit
reddit.com › r › gdb
She's a GDB
July 31, 2017 - Hello, super beginner here, I need to use gdb to find the address of integer num as a uni exercise, the idea is because I need to use a format string attack to change the value of the global variable num to 0xLIVEBEEF (in hexadecimal)...would love any help or advice on where I can find the right info to get it done well.
🌐
Reddit
reddit.com › r/linux › beej's quick guide to gdb
r/linux on Reddit: Beej's Quick Guide to GDB
August 30, 2018 - Beej is a legend, he also made the good programing sockets tutorial. ... It's a great intro to get you up and running quick. Then check out "UNIX Network Programming". The one I have is Volume 1, 3'rd edition by Stevens, Fenner, & Rudoff. It has all the fine details. ... Oh right, that was him. This guy is really a Legend ... Holy shit. I've used gdb for years and always used commands <breakpoint> print <variable> continue end Rather than display.
🌐
Reddit
reddit.com › r/reverseengineering › interactive re tutorial for beginners (asm and gdb basics)
r/ReverseEngineering on Reddit: Interactive RE tutorial for beginners (ASM and GDB basics)
April 14, 2016 - 140K subscribers in the ReverseEngineering community. A moderated community dedicated to all things reverse engineering.