Tool demo: fine-grained run-time reflection in Python with Reflectivipy
Résumé
Reflectivipy is a Python implementation of sub-method, partial behavioral reflection (SPBR). SPBR provides selective reflection operations applicable to sub-elements of methods (e.g., sub-expressions). SPBR helps in run-time code instrumentation with various application, from advanced debugging to hot patching of running programs. In this tool paper, we briefly describe SPBR and its Reflectivipy API and implementation. We illustrate Reflectivipy through two examples: first we build and demonstrate a basic object-centric debugger and describe how SPBR favors its implementation and second, we hot patch a running REST server. CCS Concepts: • Software and its engineering → Maintaining software; Object oriented development; Development frameworks and environments; Object oriented frameworks; Software maintenance tools; Software notations and tools.
Origine | Fichiers produits par l'(les) auteur(s) |
---|