File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java in General
Stack trace with variables and method arguments
Joined: Aug 08, 2010
May 28, 2012 13:39:47
Was wondering if there is a way to create a stack trace that contains
for each frame - kinda like a debugger.
I just need something that can show these info - for example when an exception is thrown.
As of now I have two possible solutions:
but they need the proper framework and the
which seems to be slow and complicated.
Are there any ways?
Joined: Oct 27, 2005
May 28, 2012 14:55:08
Aspects would be the way I'd choose. You don't need to worry about any framework; AspectJ is small and easy to integrate.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
subject: Stack trace with variables and method arguments
Exception while invoking Web Service in WAS 5
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015