Software Development with C++: Debugging with GDB

  Рет қаралды 1,975

Nick

Nick

Күн бұрын

In this video we look at the basics of debugging with GDB!
GDB Documentation: www.sourceware...
For code samples: github.com/coff...
For live content: / coffeebeforearch

Пікірлер: 10
@thesquee1838
@thesquee1838 Жыл бұрын
These videos are intersecting with what I am doing/learning in a way that is amazing, from MPI to C++ tools. Thanks for putting these out!
@NotesByNick
@NotesByNick Жыл бұрын
Glad you're enjoying the videos! Cheers, --Nick
@markusbuchholz3518
@markusbuchholz3518 2 жыл бұрын
Hi Nick, your current series regarding debugging is brilliant. I enjoyed mostly sanitizer, which probably outperforms a bit Valgrind. I am probably bad and obsolete but frankly speaking the best way (for me) for debugging purposes is ordinary printing on the terminal (for small and big projects, and frameworks). Again, exceptional YT and outstanding content. You are awesome. Thank you! Have a nice day!
@NotesByNick
@NotesByNick Жыл бұрын
Thank you! Print-based debugging can work fine in many circumstances. The main advantages of many debuggers is that they help automatically find problems without manual instrumentation (e.g., valgrind and sanitizers), or give you a way to get the same information from manual instrumentation but w/o having to modify/recompile your code. As per -usual, many different ways to do the same job. Just depends on what works best of the specific situation/you. Cheers, --Nick
@markusbuchholz3518
@markusbuchholz3518 Жыл бұрын
@@NotesByNick Agree and support your statements. We are professionals and great to apply always correct tools, and methods.
@Dar1gaaz
@Dar1gaaz Жыл бұрын
also, glorious moustache my man
@theBigNine
@theBigNine Жыл бұрын
Thank you for your videos with c++ and gdb, personally it is hard for me to find channel that teach c++ using linux (or maybe I am bad at searching for this kind of stuff) and found this one is really helpful because I too use linux (linux mint) I am switching from windows last year. So thank you, Sir!
@nguyenduckien1477
@nguyenduckien1477 Жыл бұрын
Great video. I am running in a problem can you help me? I am using clang to compile my project to lib and dll with debug symbol. I have an exe to load the lib, how can I debug the lib or dll given the exe and all the source code of dll or lib?
@evildragon1774
@evildragon1774 6 ай бұрын
Nice video! You should be a tutor.
@unperrier
@unperrier 5 ай бұрын
*print* being a command and not a function, it doesn't take parentheses. Nice, TIL about the *commands* and how to use conditional breakpoints. thanks.
Software Development with C++: GDB Watchpoints
15:53
Nick
Рет қаралды 4,6 М.
Wednesday VS Enid: Who is The Best Mommy? #shorts
0:14
Troom Oki Toki
Рет қаралды 50 МЛН
Software Development with C++: CMake Libraries
13:03
Nick
Рет қаралды 2 М.
How to DEBUG C++ in VISUAL STUDIO
19:20
The Cherno
Рет қаралды 496 М.
Software Development with C++: Debugging with Valgrind
17:26
Software Development with C++: Recursive make
12:11
Nick
Рет қаралды 1,1 М.
Debugging C Programs with GDB
16:43
NeuralNine
Рет қаралды 49 М.
All Rust features explained
21:30
Let's Get Rusty
Рет қаралды 342 М.
Wednesday VS Enid: Who is The Best Mommy? #shorts
0:14
Troom Oki Toki
Рет қаралды 50 МЛН