Hacker News new | ask | show | jobs
by yetihehe 773 days ago
I've made simple tool to make invocation traces in java. I had to fix errors in BIG project where sometimes invocation goes throught several layers (gui -> local coordinator -> remote coordinator -> remote server and result back again through another round of functions back to gui) and some of the interactions are configurable at runtime. So I've made java agent which can install logger in methods and classes specified by regex (like "com\.company\.project\.class\.method\(.+"), which then logs all calls along with arguments. VERY usable for checking which path was actually taken for invalid executions. Not in releasable state yet, but I will someday release it.