you need to stop using print debugging (do THIS instead)
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 🏫
🔥🔥🔥 SOCIALS 🔥🔥🔥
Low Level Merch!:
Follow me on Twitter:
Follow me on Twitch:
Join me on Discord!: