Unit testing and debugging with aspects
John W. Stamey, Bryan T. Saunders · Journal of computing sciences in colleges · 2005
Aspect-Oriented Programming (AOP) may be used to implement non-invasive debugging for Java Programs whereby target code (code to be debugged) is not altered. This paper illustrates techniques for tracing the execution of loops, methods and constructors using AOP. The use of aspects to implement debugging can also eliminate the need to install and learn new debugging packages for code tracing.