Debugging Approaches: Debugging Software Under Test by Paul Gichure @gichuremkenya
Debugging Approaches: Debugging Software Under Test by Paul Gichure @gichuremkenya
Introduction
Debugging is a methodical process of finding and reducing the number of bugs, or defects, in a computer system (Software, hardware or a combination), thus making it behave as expected. Process; to start with a problem isolate the source of the problem and then fix it
Debugging Vs Testing
Debugging is carried out by the development team (or developer), after getting the test report from the testing team about defect(s) The purpose of testing is to show that the software works, OR doesnt work, with intention to increase SW quality
Debugging Approaches
Brute Force Method Back Tracking Method Cause Elimination
Each of the above debugging approaches can be supplemented with debugging tools such as debugging compilers, dynamic debugging aids, automatic test case generators, memory dumps and cross reference maps.
3. Cause Elimination
manifested by induction or deduction and introduces the concept of binary partitioning data related to the error occurrence are organized to isolate potential causes. a "cause hypothesis" is devised and the data are used to prove or disprove the hypothesis. Alternatively, a list of all possible causes is developed and tests are conducted to eliminate each. If initial tests indicate that a particular cause hypothesis shows promise, the data are refined in an attempt to isolate the bug.
Thank you