next up previous
Next: Recognizing the existence of Up: Debugging Tips Previous: Compiler warnings

Bugs

The following are different classes of bugs that are often encountered:
Type of Bug Possible effects of bugs likelyhood of crash Difficulty to detect
Overwriting arrays delayed crash, invalid calculations high medium
Failure to initialize data Invalid calculations, possible crash difficult  
Reading invalid memory See Failure to initialize data    
Memory leak Machine slows to a halt as the lack of free memory causes many swap read/writes low easy
Incorrect implementation of Algorithm Incorrect results low varies



Spencer Eugene Olson 2005-01-19