资 源 简 介
Call Tree
The Call Tree is a Java library for visualizing call trees. It can help Java and programming beginners to understand control flow of their Java programs containing recursive methods and to simplify debugging of recursive programs.
Comparing to other tools for visualization of call trees, this tool can be used with arbitrary IDE. It does not inspect, modify, or even interpret the code. Construction of call tree is realized utilizing simple API calls that inspect current call stack.
How to use the library
Add the library (CallTree.jar) to the class path (the build path of a project).
Place API calls in your recursive methods. The most important API call is CallTree.markCall that must be placed as the first command of your recursive method(s).
Call CallTree.markReturn to store a value returned by recursive method.
Call CallTree.log to a