Thursday, November 19, 2009

Getting AspectJ Pointcut matching timer information in AJDT

Andy Clement has just added pointcut match timing information to AspectJ. A number of people have been asking to have this included in AJDT, and so I did a little work and made it available in the latest dev builds of AJDT for 3.4 and 3.5.

Here's how to display timing information:


  1. Select Verbose and Pointcut matching timers from the AspectJ compiler preferences page (this can be either globally from Eclipse preferences or for a specific project from the project properties page):

    compiler prefs

  2. In the AJDT Event Trace View, ensure that you have Compiler / Task list messages selected:

    event trace



And now on every project build (incremental or full), you will see pointcut matching times spit out to the event trace:

output

Enjoy! Questions can be sent to the AJDT developer's mailing list.

No comments:

Post a Comment