The Art of Debugging

2 views
Skip to first unread message

Ali Samimi

unread,
Jul 18, 2011, 3:31:50 PM7/18/11
to advprg_892
Forwarded from CProgramming.com Email Service:


Debugging is one of the most important skills in programming--probably more important than writing code :) If your code doesn't WORK, it doesn't matter that you wrote it.  Here are some articles to help you become a better debugger: 

Bug Prevention and Debugging Strategy - A guide to the debugging thought process and making your programs easier to debug
 
Introduction to GDB - GDB is a debugger that comes with any Linux based (including Mac OS X) system
 
Introduction to the Visual Studio Debugger  - If you don't have Visual Studio, you can get a free version of Visual Studio--check out the options here
 
How to Fix Segmentation Faults - Learn to hunt down the dreaded segmentation fault (aka access violation on Windows). You'll find this useful once you've learned about pointers
 
Hunting Memory Leaks with Valgrind - A great Linux-based tool to hunt down memory leaks and other memory problems
 
Happy debugging!
 
Alex


Reply all
Reply to author
Forward
0 new messages