Skip to main content

Any advice on how to debug a APT?

1 reply [Last post]
Joined: 2006-04-04

I'm implementing a Annotation processor nowadays.
But i don't find a way to debug it.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2004-11-02

First, I'd recommend trying to use JSR 269 processing in javac rather than apt; see the javax.annotation.processing package for starters.

What specifically about using apt are you trying to debug? apt -X will list some of debugging options to see what the tool is doing?