Structure and Chance: Melding Logic and Probability for Software Debugging

MSR-TR-95-12 |

Publication

To date, software engineers charged with debugging complex software packages have had few automated reasoning tools to assist them with identifying the sources of error and with prioritizing their effort. We describe methods, based on a synthesis of logical and probabilistic reasoning, that can be employed to identify the likely source and location of problems in complex software. The methods have been applied to diagnosing run-time errors in the Sabre system, the largest timeshared reservation system in the world. The results from our validation suggest that such methods can be of value in directing the attention of software engineers to program execution paths and program instructions that have the highest likelihood of harboring a programming error.