Title :
Lightweight control-flow instrumentation and postmortem analysis in support of debugging
Author :
Ohmann, Peter ; Liblit, Ben
Author_Institution :
Univ. of Wisconsin-Madison, Madison, WI, USA
Abstract :
Debugging is difficult and costly. As a human programmer looks for a bug, it would be helpful to see a complete trace of events leading to the point of failure. Unfortunately, full tracing is simply too slow to use in deployment, and may even be impractical during testing. We aid post-deployment debugging by giving programmers additional information about program activity shortly before failure. We use latent information in post-failure memory dumps, augmented by low-overhead, tunable run-time tracing. Our results with a realistically-tuned tracing scheme show low enough overhead (0-5%) to be used in production runs. We demonstrate several potential uses of this enhanced information, including a novel postmortem static slice restriction technique and a reduced view of potentially-executed code. Experimental evaluation shows our approach to be very effective, such as shrinking stack-sensitive interprocedural static slices by 49-78% in larger applications.
Keywords :
program debugging; program slicing; latent information; lightweight control-flow instrumentation; post-deployment debugging; post-failure memory dumps; postmortem analysis; postmortem static slice restriction technique; potentially-executed code; program activity; realistically-tuned tracing scheme; run-time tracing; shrinking stack-sensitive interprocedural static slices; Algorithm design and analysis; Arrays; Computer crashes; Core dumps; Debugging; Instruments; Production;
Conference_Titel :
Automated Software Engineering (ASE), 2013 IEEE/ACM 28th International Conference on
Conference_Location :
Silicon Valley, CA
DOI :
10.1109/ASE.2013.6693096