Collectors

Steven Costiou 1 Mickael Kerboeuf 1 Alain Plantec 1 Marcus Denker 2
1 Lab-STICC_UBO_CACS_MOCS
Lab-STICC - Laboratoire des sciences et techniques de l'information, de la communication et de la connaissance, UBO - Université de Brest
2 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 (CRIStAL) - UMR 9189
Abstract : Observing and modifying object-oriented programs often means interacting with objects. At runtime, it can be a complex task to identify those objects due to the live state of the program. Some objects may exist for only a very limited period of time, others can be hardly reachable because they are never stored in variables. To address this problem we present Collectors. They are dedicated objects which can collect objects of interest at runtime and present them to the developer. Collectors are non-intrusive, removable code instrumentations. They can be dynamically specified and injected at runtime. They expose an API to allow their specification and the access to the collected objects. In this paper, we present an implementation of Collectors in Pharo, a Smalltalk dialect. We enrich the Pharo programming and debugging environment with tools that support the Collectors API. We illustrate the use of these API and tools through the collection and the logging of specific objects in a running IOT application.
Type de document :
Communication dans un congrès
PX'18 - Programming Experience 2018, Apr 2018, Nice, France. ACM Press, pp.9, Companion of the 2nd International Conference on Art, Science, and Engineering of Programming 〈10.1145/3191697.3214335〉
Liste complète des métadonnées

https://hal.univ-brest.fr/hal-01829183
Contributeur : Steven Costiou <>
Soumis le : mardi 3 juillet 2018 - 19:49:46
Dernière modification le : jeudi 29 novembre 2018 - 16:47:35

Identifiants

Citation

Steven Costiou, Mickael Kerboeuf, Alain Plantec, Marcus Denker. Collectors. PX'18 - Programming Experience 2018, Apr 2018, Nice, France. ACM Press, pp.9, Companion of the 2nd International Conference on Art, Science, and Engineering of Programming 〈10.1145/3191697.3214335〉. 〈hal-01829183〉

Partager

Métriques

Consultations de la notice

251