> Matt, there is a big difference between printing the stack trace and > walking it to find the info. printing it on every debug call would be > insane. >
Why would anyone want to do that? https://docs.oracle.com/javase/7/docs/api/java/lang/StackTraceElement.html And how do you think the logging frameworks get that kind of information? :)