Publikation

Zurück zur Übersicht

DoodleDebug, Objects Should Sketch Themselves For Code Understanding

Publikationsart Peer-reviewed
Publikationsform Tagungsbeitrag (peer-reviewed)
Publikationsjahr 2011
Autor/in Schwarz Niko
Projekt Synchronizing Models and Code
Alle Daten anzeigen

Tagungsbeitrag (peer-reviewed)

Titel der Proceedings Workshop on Dynamic Languages and Applications (DYLA'11)
Status Publiziert

Open Access

Abstract

Developers override \texttt{toString()} and \texttt{printOn:} methods to allow objects to display themselves. This is done to track object state while debugging. Although very popular, the technique breaks down when displaying complex, mul\-ti\--di\-mension\-al objects. We propose an approach in which objects have two-\-di\-men\-sion\-al visualizations at various levels of granularity. This makes it easier to compose visualizations from object parts, and enables ``semantic zooming'' of object visualizations while debugging. We have carried out an empirical study to understand how \texttt{printOn:} methods are used in practice, and we are developing DoodleDebug, a framework to support visualizable objects.