I have a method and want to examine variables inside it without debugging - is it possible in Java?
I do not want to write tons of code like:
System.out.println("a: " + a);
I want to something like:
System.out.printLocals();
Also it should be great to have something like:
System.out.printMembersOf(someObjectInstance);