Accurate Coverage Metrics for Compiler-Generated Debugging Information
Fuente:
arXiv
Saved in:
| Main Authors: | , |
|---|---|
| Format: | Preprint |
| Published: |
2024
|
| Subjects: | |
| Online Access: | |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| _version_ | 1866913225821388800 |
|---|---|
| author | Stinnett, J. Ryan Kell, Stephen |
| author_facet | Stinnett, J. Ryan Kell, Stephen |
| contents | 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. |
| format | Preprint |
| id |
arxiv_https___arxiv_org_abs_2402_04811 |
| institution | arXiv |
| publishDate | 2024 |
| record_format | arxiv |
| spellingShingle | Accurate Coverage Metrics for Compiler-Generated Debugging Information Stinnett, J. Ryan Kell, Stephen Programming Languages Software Engineering 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. |
| title | Accurate Coverage Metrics for Compiler-Generated Debugging Information |
| topic | Programming Languages Software Engineering |
| url | https://arxiv.org/abs/2402.04811 |