Unit testing and debugging with aspects

  • Authors:
  • John Stamey;Bryan Saunders

  • Affiliations:
  • Coastal Carolina University, Conway, SC;Coastal Carolina University, Conway, SC

  • Venue:
  • Journal of Computing Sciences in Colleges
  • Year:
  • 2005

Quantified Score

Hi-index 0.01

Visualization

Abstract

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.