title: How do I in java add a stacktrace to my debugging printout
body: <p>What's the easiest way to print a stacktrace from a debugging printout? Often during testing you would like to know the callstack leading up to the situation provoking a debug message.</p>