Debugging Software

BillW says: Try a different compiler. It's amazing how many bugs show with different compilers. Some show up just because compilers have different ideas about how strict they should be about certain types of possible errors. Others show up when storage is allocated differently, or similar...

Also:

See also: