Handling Error-Handling Errors: dealing with debugger bugs in Pharo - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2020

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

Résumé

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
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

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

Identifiants

  • HAL Id : hal-02992644 , version 1

Citer

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⟩
132 Consultations
136 Téléchargements

Partager

Gmail Facebook X LinkedIn More