Comments: The files are in my projects folder. ContactPerson: pvg@cse.buffalo.edu Remote host: pollux.cse.buffalo.edu ### Begin Citation ### Do not delete this line ### %R 2004-19 %U /projects/pvg/VisualQuery.ps %A Girgis, Hani Z. %A Hegde, Akshay V. %A Pushpendran, Manu %A Gestwicki, Paul V. %A Jayaraman, Bharat %T Visual Queries for Interactive Execution of Java Programs %D December 13, 2004 %I Department of Computer Science and Engineering, SUNY Buffalo %K visual query, program execution database, interactive execution, java, jive %X The behavior of object-oriented programs at runtime can be understood in terms of object states and the history of interaction between objects. Runtime behavior can be very complicated, and information visualization tools are invaluable for program development and debugging. While there has been considerable work in predicting execution patterns through slicing and program analysis, comparatively less has been done on analysis of program execution states and histories. We present a novel technique for visualizing queries over object-oriented program execution. Our technique is built upon the JIVE system of interactive program visualization, which depicts program state in object diagrams and execution history through sequence diagrams. The queries are posed through the graphical interface, and each view of a program (state, history, source code) provides different querying functionality. Furthermore, the results of the queries are shown in the graphical user-interface by annotating the diagrams or inducing new views. Our design allows for queries over variables, methods, objects, classes, and source code. This paper describes the domain of these queries as well as their interfaces, briefly outlines their implementation, and also provides a survey of related work and comparisons.