Recent advances in object-oriented technology and computer networking have changed the way we maintain and develop software systems, i.e., you may need to maintain the system that is running in remote area. In this paper, we introduce a dynamic program slicing method applied to Java™ programs using the JPDA (Java Platform Debugger Architecture) facilities. Our approach produces DORDs (dynamic object relationship diagrams) with respect to given slicing criterion in XML format, for export and graphical representations. The resulting slice is collectively called DORD-XML. The slicing algorithm keeps track of dynamic dependencies of objects so that it can compute a minimum set of objects with respect to given slicing criterion. By using DORD-XML and a graph-drawing tool, we attempt to reduce the complexity of Java programs and to make distributed, remote, and local systems more maintainable and understandable.
展开▼