Java tutorial
public class Main { public static void main(String[] args) { // start tracing for instructions Runtime runTime = Runtime.getRuntime(); runTime.traceMethodCalls(true); } }