Runtime.getRuntime().traceMethodCalls(true); System.out.println("hello"); System.out.println("hello");