Adding print statements to debug your crashing program is a tale as old as time. It gets the job done... most of the time. As your code gets more complex and larger, print debugging quickly becomes unfeasible.
Using gdb and core files, you can easily cut your debugging time down. In this video, I'll be discussing a pet program that I wrote and using a core file to debug an issue with our program. We'll talk about how to get your program and kernel to produce a core file on segmentation fault, as well as a few techniques to debug C and C++.
🏫 COURSES 🏫 Learn to code in C at [ Ссылка ]
📰 NEWSLETTER 📰 Sign up for our newsletter at [ Ссылка ]
🔥🔥🔥 SOCIALS 🔥🔥🔥
Low Level Merch!: [ Ссылка ]
Follow me on Twitter: [ Ссылка ]
Follow me on Twitch: [ Ссылка ]
Join me on Discord!: [ Ссылка ]
Ещё видео!