Print java stack trace from anywhere

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

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 *


three + = 10

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>