A quick and basic guide on debugging CC code with GDB
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=gu09QdwEvgo
Title: A quick and basic guide on debugging C|C++ code with GDB • This is a quick guide I have made on GDB or GNU Debugger which covers the basics of how you can use it to debug C/C++ code. This is NOT an in-depth tutorial so if you have more specific use cases or questions, look for it on the Internet, especially StackOverflow. • For more reference, check out: • https://gist.github.com/integeruser/0... • https://ftp.gnu.org/old-gnu/Manuals/g... • https://man7.org/linux/man-pages/man1... • https://sourceware.org/gdb/current/on... • Photo by Krishna Pandey on Unsplash • Chapters • 0:00 Intro • 0:19 Sample source code • 0:50 Compile enter GDB shell • 1:00 file command • 1:20 “run” command • 1:40 Breakpoint • 2:25 Managing breakpoints • 2:50 “print” • 3:12 “watch” command • 3:33 “next”, “step” and “continue” • 4:36 “backtrace” command • 4:50 “finish” command • 5:04 Conclusion • #cplusplus #clanguage #gnu #debugging
#############################