Java 有辦法做函數進出時候都印出函數名稱嗎?
類似下面 c code 進出每個函數都能印出進去跟出來順序
https://gist.github.com/anonymous/11218846
enter main test.c:85
enter func1 test.c:70
enter func2 test.c:67
leave func2 test.c:67
enter func3 test.c:75
enter func4 test.c:80
leave func4 test.c:80
leave func3 test.c:75
leave func1 test.c:70
enter func3 test.c:75
enter func4 test.c:80
leave func4 test.c:80
leave func3 test.c:75
leave main test.c:85
謝謝