Print java stack trace from anywhere

Need to know which code call a specific location?
Dump the stack trace:

1
LOG.trace(ExceptionUtils.getStackTrace(new Throwable()));
This entry was posted in java. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


six × 2 =