We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Computer Science & Information Technology/Isolating cause-effect chains from computer programs
PeriodicalsComputer Science & Information Technology

Isolating cause-effect chains from computer programs

Checking your access to this record.

Abstract & Overview

Consider the execution of a failing program as a sequence of program states. Each state induces the following state, up to the failure. Which variables and values of a program state are relevant for the failure? We show how the Delta Debugging algorithm isolates the relevant variables and values by systematically narrowing the state difference between a passing run and a failing run--by assessing the outcome of altered executions to determine wether a change in the program state makes a difference in the test outcome. Applying Delta Debugging to multiple states of the program automatically reveals the cause-effect chain of the failure--that is, the variables and values that caused the failure.In a case study, our prototype implementation successfully isolated the cause-effect chain for a failure of the GNU C compiler: "Initially, the C program to be compiled contained an addition of 1.0; this caused an addition operator in the intermediate RTL representation; this caused a cycle in the RTL tree--and this caused the compiler to crash."

Cite this record

Andreas Zeller (2002). Isolating cause-effect chains from computer programs. ACM SIGSOFT Software Engineering Notes, 27(6), 1–10. https://doi.org/10.1145/605466.605468

Copy in another style

Zeller, A. (2002). Isolating cause-effect chains from computer programs. ACM SIGSOFT Software Engineering Notes, 27(6), 1–10. https://doi.org/10.1145/605466.605468
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.