Accurate Coverage Metrics for Compiler-Generated Debugging Information
<|reference_start|>Accurate Coverage Metrics for Compiler-Generated Debugging Information: Many debugging tools rely on compiler-produced metadata to present a source-language view of program states, such as variable values and source line numbers. While this tends to work for unoptimised programs, current compilers often generate only partial debugging information in optimised programs. Current approaches for measuring the extent of coverage of local variables are based on crude assumptions (for example, assuming variables could cover their whole parent scope) and are not comparable from one compilation to another. In this work, we propose some new metrics, computable by our tools, which could serve as motivation for language implementations to improve debugging quality.<|reference_end|>
@article{stinnett2024accurate,
    title={Accurate Coverage Metrics for Compiler-Generated Debugging Information},
    author={J. Ryan Stinnett, Stephen Kell},
    journal={arXiv preprint arXiv:2402.04811},
    year={2024},
    doi={10.1145/3640537.3641578},
    archivePrefix={arXiv},
    eprint={2402.04811},
    primaryClass={cs.PL cs.SE}
}