DocumentCode
2436684
Title
Interactive visualization of Java programs
Author
Gestwicki, Paul ; Jayaraman, Bharat
Author_Institution
Dept. of Comput. Sci. & Eng., State Univ. of New York, USA
fYear
2002
fDate
2002
Firstpage
226
Lastpage
235
Abstract
The design and implementation of a novel visual interactive execution environment for Java is described. This system displays both the run-time object structure as well as the internal details of object and method activations. The representation of the execution state is based upon a novel yet simple representation technique which clarifies the important fact that objects are environments. All major Java features, including inheritance, inner classes, static methods, exceptions, etc., are supported. The GUI components built from Java´s Swing or AWT libraries can be visualized in juxtaposition with the underlying execution state. We also include a reverse-execution mechanism that allows a user to rollback to previous states of an execution. A notable characteristic of the visualization system is that it employs the existing Java virtual machine; no new Java interpreter is needed. A novel preprocessor (source-to-source transformation) is employed in conjunction with a run-time mediator written in Java, which carries out the visualization. A prototype of these ideas was completed to validate the entire approach.
Keywords
Java; graphical user interfaces; inheritance; interactive systems; object-oriented programming; program interpreters; virtual machines; Java; execution state; graphical user interface; inheritance; object-oriented programming; run-time object structure; virtual machine; visual interactive execution environment; Computer displays; Computer science; Design engineering; Graphical user interfaces; Java; Libraries; Prototypes; Runtime; Virtual machining; Visualization;
fLanguage
English
Publisher
ieee
Conference_Titel
Human Centric Computing Languages and Environments, 2002. Proceedings. IEEE 2002 Symposia on
Print_ISBN
0-7695-1644-0
Type
conf
DOI
10.1109/HCC.2002.1046375
Filename
1046375
Link To Document