C++ Debugging with Debuggers vs. Cout All The Things

Channel:
Subscribers:
2,640
Published on ● Video Link: https://www.youtube.com/watch?v=q8WdQXPf4jA



Duration: 30:29
119 views
3


Today we showed how to debug your current homework assignment, which has various crashes and Out of Bounds bugs built into it using GDB (a debugger) vs hunting down the bug with cout statements. They both work, and I use both approaches depending on my mood and how fast I want to find the bug.