Loading formats...
Master GNU Debugger: Debug C++ & Assembly Programs with GDB Like a Pro
N
Neural Lantern
5 views • Jun 15, 2025
Description
Hey everybody! Ready to crush those pesky bugs in your C++ and assembly programs? In this video, we?re diving deep into the GNU Debugger (GDB) ? the ultimate tool for tracking down crashes, inspecting variables, and mastering your code. From setting up debug symbols to navigating call stacks, setting breakpoints, and even debugging assembly registers, this fun and relatable guide has you covered. Whether you?re a beginner coder or a seasoned dev, you?ll learn practical tips to level up your debugging game. We?ll also tackle null pointers, create GDB scripts, and explore why your program might be misbehaving. Stick around for a few laughs and some serious skills! Don?t forget to subscribe, hit that like button, and check out my website for more coding tutorials. Let?s debug like pros together!
Introduction to GNU Debugger 00:00:00
What is a Debugger 00:00:20
Debug Symbols Explanation 00:02:08
Compiling with Debug Symbols 00:03:13
File Size Comparison 00:05:30
Installing and Launching GDB 00:06:21
GDB Console Basics 00:06:55
Attaching GDB to Program 00:08:12
Running Program in GDB 00:09:09
Handling Program Crash 00:13:02
Understanding Call Stack 00:14:05
Navigating Call Stack 00:18:13
Inspecting Variables 00:19:08
Null Pointer Issues 00:21:25
Using GDB Script 00:25:10
Setting Breakpoints 00:27:04
Managing Breakpoints 00:28:37
Continuing Execution 00:30:41
Debugging Assembly 00:33:24
Global Variables in Assembly 00:35:43
Advanced GDB Commands 00:38:31
Conclusion and Call to Action 00:40:22
Thanks for watching!
Find us on other social media here:
- https://www.NeuralLantern.com/social
Please help support us!
- Subscribing + Sharing on Social Media
- Leaving a comment or suggestion
- Subscribing to our Blog
- Watching the main "pinned" video of this channel for offers and extras
Introduction to GNU Debugger 00:00:00
What is a Debugger 00:00:20
Debug Symbols Explanation 00:02:08
Compiling with Debug Symbols 00:03:13
File Size Comparison 00:05:30
Installing and Launching GDB 00:06:21
GDB Console Basics 00:06:55
Attaching GDB to Program 00:08:12
Running Program in GDB 00:09:09
Handling Program Crash 00:13:02
Understanding Call Stack 00:14:05
Navigating Call Stack 00:18:13
Inspecting Variables 00:19:08
Null Pointer Issues 00:21:25
Using GDB Script 00:25:10
Setting Breakpoints 00:27:04
Managing Breakpoints 00:28:37
Continuing Execution 00:30:41
Debugging Assembly 00:33:24
Global Variables in Assembly 00:35:43
Advanced GDB Commands 00:38:31
Conclusion and Call to Action 00:40:22
Thanks for watching!
Find us on other social media here:
- https://www.NeuralLantern.com/social
Please help support us!
- Subscribing + Sharing on Social Media
- Leaving a comment or suggestion
- Subscribing to our Blog
- Watching the main "pinned" video of this channel for offers and extras
Discover more
More from this user
20:46
Graph Basics in Data Structures: Nodes, Edges, and Representations
Neural Lantern
26:46
4 Graph Types: Undirected vs Directed, Weighted vs Unweighted
Neural Lantern
25:33
AVL Trees: Adding Linear Data and Performing Rotations
Neural Lantern
36:36
AVL Tree Rotations Practice: Balancing a Huge Linear Tree Step by Step
Neural Lantern
16:03
How to Perform AVL Tree Rotations - Step By Step Example
Neural Lantern
25:14
AVL Tree Rotations Tutorial: Fixing Imbalance After Adding a Node
Neural Lantern
Related videos
00:05
[PDF] Debugging with GDB: The GNU Source-Level Debugger [Read] Full Ebook
Victoria
00:38
[Read] Android System Programming: Porting, customizing, and debugging Android HAL Complete
AnnieCox1707
00:15
Download Debugging Applications DV MPS Programming
Pfphzcuv6901
01:26
Google Gemini Course Section 31 Debugging Programming Codes
SimpleTutorials
01:50
Microsoft Copilot Course Section 16 Debugging Programming Codes
SimpleTutorials
01:35
ChatGPT Course Section 15 Debugging Programming Codes
SimpleTutorials