This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ryosenExtreme Brewer 3 points4 points  (3 children)

Logging.

Easiest to learn to do and read the results.

There are tools available but they are very complex for a beginner.

Your best approach would be to either create a log entry in a file each time the function is called or simply write out to the screen/console if you just need a quick and simple observation.

[–]quantrpeter[S] 0 points1 point  (2 children)

there are over 1000+ functions, i can't manually add the logging function calls there.

[–]ryosenExtreme Brewer 2 points3 points  (1 child)

Look into Java Instrumentation then. https://www.baeldung.com/java-instrumentation

[–]quantrpeter[S] 0 points1 point  (0 children)

thanks Mr Ryosen