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

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

Abstract

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)
Loading...

Dates and versions

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

Identifiers

  • HAL Id : hal-02992644 , version 1

Cite

Steven Costiou, Thomas Dupriez, Damien Pollet. Handling Error-Handling Errors: dealing with debugger bugs in Pharo. 2020. ⟨hal-02992644⟩
150 View
171 Download

Share

More