Hal will be stopped for maintenance from friday on june 10 at 4pm until monday june 13 at 9am. More information
Skip to Main content Skip to Navigation
Conference papers

Sindarin: A Versatile Scripting API for the Pharo Debugger

Thomas Dupriez 1 Guillermo Polito 1 Steven Costiou 1 Vincent Aranega 1 Stéphane Ducasse 1
1 RMOD - Analyses and Languages Constructs for Object-Oriented Application Evolution
Inria Lille - Nord Europe, CRIStAL - Centre de Recherche en Informatique, Signal et Automatique de Lille - UMR 9189
Abstract : Debugging is one of the most important and time consuming activities in software maintenance, yet mainstream debuggers are not well-adapted to several debugging scenarios. This has led to the research of new techniques covering specific families of complex bugs. Notably, recent research proposes to empower developers with scripting DSLs, plugin-based and moldable debuggers. However, these solutions are tailored to specific use-cases, or too costly for one-time-use scenarios. In this paper we argue that exposing a debugging scripting interface in mainstream debuggers helps in solving many challenging debugging scenarios. For this purpose, we present Sindarin, a scripting API that eases the expression and automation of different strategies developers pursue during their debugging sessions. Sindarin provides a GDB-like API, augmented with AST-bytecode-source code mappings and object-centric capabilities. To demonstrate the versatility of Sindarin, we reproduce several advanced breakpoints and non-trivial debugging mechanisms from the literature.
Complete list of metadata

Contributor : Lse Lse Connect in order to contact the contributor
Submitted on : Friday, September 6, 2019 - 5:09:34 PM
Last modification on : Thursday, March 24, 2022 - 3:42:17 AM
Long-term archiving on: : Thursday, February 6, 2020 - 10:17:29 PM


Files produced by the author(s)



Thomas Dupriez, Guillermo Polito, Steven Costiou, Vincent Aranega, Stéphane Ducasse. Sindarin: A Versatile Scripting API for the Pharo Debugger. Proceedings of the 15th ACM SIGPLAN International Symposium on Dynamic Languages, Dec 2019, Athens, Greece. ⟨10.1145/3359619.3359745⟩. ⟨hal-02280915⟩



Record views


Files downloads