Handling Error-Handling Errors: dealing with debugger bugs in Pharo - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Preprints, Working Papers, ... Year :

Handling Error-Handling Errors: dealing with debugger bugs in Pharo


In Pharo, errors happening during the opening of a debugger provoke error-handling errors. The Pharo system then drops into a rudimentary emergency evaluator, which provides extremely limited debugging features. This is a real problem while developing debuggers, when debuggers are more subject to bugs. In addition, the Pharo debugging infrastructure exposes an heterogeneous, obscure interface with various usages and users. Therefore, trying to extend this infrastructure to cope with debuggers bugs is tedious. In this technical paper, we present Oups, an improved debugger infrastructure for Pharo. Oups provides a unified interface as a single entry point to request the opening of debuggers. Upon a debugger opening request, Oups uses interchangeable debugger opening strategies to select which debugger to open. We implemented a strategy that allows for the debugging of a failing debugger by other debuggers instead of the emergency evaluator. Oups improves the resilience of the Pharo system for specific cases of error-handling errors that we analyse.
Fichier principal
Vignette du fichier
2020-debugger-selector.pdf (977.29 Ko) Télécharger le fichier
Origin : Files produced by the author(s)

Dates and versions

hal-02992644 , version 1 (16-11-2020)


  • HAL Id : hal-02992644 , version 1


Steven Costiou, Thomas Dupriez, Damien Pollet. Handling Error-Handling Errors: dealing with debugger bugs in Pharo: Preprint from IWST20: International Workshop on Smalltalk Technologies. 2020. ⟨hal-02992644⟩
128 View
112 Download


Gmail Facebook Twitter LinkedIn More