Abstract
Debugging concurrent Java programs is a difficult task because of multiple control flows and inherent nondeterminism. It requires techniques not provided by traditional debuggers such as tracing, visualization, and automated error analysis. Therefore, we have developed the JaVis environment for visualizing and debugging concurrent Java programs. The information about a running program is collected by tracing. The Unified Modeling Language (UML) is used for the visualization of traces. Traces are automatically analyzed for deadlocks. The tracingis implemented usingthe Java Debug Interface (JDI) of the Java Platform Debugger Architecture. The visualization is integrated into the UML CASE tool Together.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
A. Bechini and K. Tai. Design of a toolset for dynamic analysis of concurrent Java programs. In Proc. International Workshop on Program Comprehension IWPC 1998.
J. Gosling, B. Joy, and G. Steele. The Java Language Specification. Addison-Wesley, 1997.
J. Harrow. Debugging multithreaded applications on Compaq Tru64 Unix operatingsystems. Technical report, Compaq Computer, 2000.
IBM. Jinsight. http://www.research.ibm.com/jinsight.
JavaSoft. Java Platform Debugger Architecture and Java Debug Interface. http://www.javasoft.com/products/jpda/.
E. Kraemer. Visualizingconcurren t programs. In Software Visualization: Programming as a Multimedia Experience, pages 237–256. MIT Press, Cambridge, MA, 1998.
D. Lea. Concurrent Programming in Java, Design Principles and Patterns. Addison Wesley, 1997.
K. Mehner and A. Wagner. Visualizing the synchronization of Java-threads with UML. In IEEE Symposium of Visual Languages, 2000.
Object Management Group. UML specification version 1.3, June 1999. http://www.omg.org.
Rainer Oechsle and Thomas Schmitt. JAVAVIS: Automatic Program Visualization With Object and Sequence Diahrams UsingThe Jaba DebugIn terface (JDI). In Proceedings of Dagstuhl Seminar on Software Visualization, 2001.
Wim De Pauw, Erik Jensen, Nick Mitchell, Gary Sevitsky, John Vlissides, and Jeaha Yang. Visualizing the Execution of Java Programs. in Proceedings of Dagstuhl Seminar on Software Visualization, 2001.
TogetherSoft. Together. http://www.togethersoft.com.
Q. Zhao and J. Stasko. Visualizingthe execution of threads-based parallel programs. Technical Report GIT-GVU-95-01, Georgia Institute of Technology, Atlanta, GA, January 1995.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2002 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Mehner, K. (2002). JaVis: A UML-Based Visualization and Debugging Environment for Concurrent Java Programs. In: Diehl, S. (eds) Software Visualization. Lecture Notes in Computer Science, vol 2269. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45875-1_13
Download citation
DOI: https://doi.org/10.1007/3-540-45875-1_13
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-43323-1
Online ISBN: 978-3-540-45875-3
eBook Packages: Springer Book Archive