I'm implementing a Annotation processor nowadays.
But i don't find a way to debug it.
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?
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.