Hey,
I am currently working on a debug/error handling tool for my Java project. This is a long-shot, but is there a way to print out the values of the arguments that are sent into a method?
The JVM must have them stored when calling the method. Anyway I can just grab hold of those values?
My goal is to just call on my own printArguments() method, which should - somehow - print out the arguments, no matter what method I just it in.
Anyone got any ideas how I can solve this? or perhaps maybe other similar information I can access? I want to get as much information as possible at a certain time, for example, the variables.
Any comments would be appreciated! :)