- This is a Java implementation of a dynamic execution graph.
- The graph is built by analyzing the execution of a program and the graph is updated as the program executes.
- Using Java Debugging Interface (JDI) to monitor the execution of the program and build the graph.
- In this program, feel free to modify the granularity in StepDebug to reduce/increase the detail of the graph.
- The graph is visualized using the Graphviz library.
- 1.1
- Last updated: 2024-03-08
- Chinese strings are not supported.
- If the original program has an infinite loop, the program will also have an infinite loop problem.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Java 17 or later
- Maven
- Graphviz
- Clone the repository
git clone https://github.com/dududuguo/java-dynamic-exe-graph.git- Create a new black "input" file in the root directory of the project
- Write any input information in the "input" file
- Run Command
java -jar target/dynamic-exe-graph-1.1.jar <Main class name> <ClassPath>
dot -Tpng graph.dot -o graph.png- The graph will be generated in the root directory of the project
cd java-dynamic-exe-graph
java -jar ./target/dynamic-exe-graph-1.1.jar test.test ./target/classes
dot -Tpng graph.dot -o graph.pngThis project is licensed under the MIT License - see the LICENSE file for details
- Repository: https://github.com/dududuguo/java-dynamic-exe-graph.git
- The project has used in UTS:48024 Programming 2
- Author: zhihao guo

