-
1. Re: Placing break-points in the instrumented code
kabirkhan Sep 17, 2004 9:27 AM (in response to rkadayam)When trying to figure out what was going on I did the following on the small examples in the tutorial. I realise that this will probably be totally unpractical on a real project due to the number of classes. Anyhow, here it goes:
1) Compile classes
2) Precompile classes
3) Decompile classes, and save over original sourcefiles (you might need to fiddle a bit to make them compile)
4) Compile source files created in 3)
5) Run (the classes are AOP'ed)
Probably not very useful for what you want, but the only way I have found... -
2. Re: Placing break-points in the instrumented code
kabirkhan Sep 17, 2004 9:29 AM (in response to rkadayam)PS in 2) I mean run the aop compiler
-
3. Re: Placing break-points in the instrumented code
bill.burke Sep 17, 2004 11:38 AM (in response to rkadayam)I think I know what the problem is. I don't think Javasssist's copy method copy's CodeAttributes which have the line numbers. I'll see what I can do.
Bill -
4. Re: Placing break-points in the instrumented code
bill.burke Sep 22, 2004 12:58 PM (in response to rkadayam)Ok, this is fixed in HEAD and will be in RC2 release on Friday.
Bill