Skip to Main content Skip to Navigation
Conference papers

Framework-aware debugging with stack tailoring

Abstract : Debugging applications that execute within a framework is not always easy: the call-stack offered to developers is often a mix-up of stack frames that belong to different frameworks, introducing an unnecessary noise that prevents developers from focusing on the debugging task. Moreover, relevant application code is not always available in the call-stack because it may have already returned, or is available in another thread. In such cases, manually gathering all relevant information from these different sources is not only cumbersome but also costly. In this paper we introduce Sarto, a call-stack instrumentation layer that allows developers to tailor the stack to make debugging framework-aware. The goal is to improve the quality and amount information present in the call-stack to reduce debugging time without impacting the execution time. Sarto proposes a set of six stack operations that combined hide irrelevant information, introduce missing information, and relate dispersed debugging sources before this is fed to the debugger. We validate Sarto by applying it to four application cases using inherently different frameworks: unit testing, web server, remote promises and big data processing. We showcase our experiences in using Sarto in the different frameworks, and perform some performance benchmarks to demonstrate that Sarto does not generate noticeable overhead when instrumenting a call-stack. We also show that our solution reduces by half the amount of data stored to debug similar exceptions happening in a parallel setup. CCS Concepts: • Software and its engineering → Application specific development environments; Integrated and visual development environments; Error handling and recovery; Software testing and debugging.
Document type :
Conference papers
Complete list of metadata

https://hal.inria.fr/hal-03043779
Contributor : Lse Lse <>
Submitted on : Friday, January 22, 2021 - 10:21:12 AM
Last modification on : Saturday, January 23, 2021 - 3:27:15 AM

Identifiers

Collections

Citation

Matteo Marra, Guillermo Polito, Elisa Gonzalez Boix. Framework-aware debugging with stack tailoring. SPLASH '20: Conference on Systems, Programming, Languages, and Applications, Software for Humanity, Nov 2020, Virtual USA, United States. pp.71-84, ⟨10.1145/3426422.3426982⟩. ⟨hal-03043779⟩

Share

Metrics

Record views

12

Files downloads

88