logging arguments to console on debugging



I use IDEA v14 for debugging a jar which has no source code. "log evaluated expression" feature helped me lot. I can log the class members but I couldn't succeeded to log method arguments. On suspend mode I can see the arguments of method. But didn't find a way to log method arguments.

1 comment
Comment actions Permalink

Hi, please try it in the latest IDEA (EAPs are for free). There were some fixes in this area, I'm not sure in what version exactly.

Currently you should be able to evaluate and log any args, visible local variables etc. even without debug info (using slot_N names).


Please sign in to leave a comment.