java trace of all runtime variable access -


i need log run-time access variable or object current direction markup classfile modified bytecode performance not issue

bcel looks nice add trace instructions each relevant opcode in bytecode

however, add semantic information source file e.g. variable for-loop counter require ast / parsing tree manipulation.

so asm / javaassist better choices ???

logging variable-usage key requirement - bytecode looks right level handle this. have access source parse tree more semantic information

any thoughts ?

p.s. large prolonged project

look javasnoop (https://www.aspectsecurity.com/research/appsec_tools/javasnoop/). monitor function calls.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -