Slide 17
Slide 17 text
Debugging your Annotation
Processors
• Add Compiler option:
-Xdebug -
agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=7777
• Debug remote (Attach) with options:
-Xdebug -
agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=7777
• Set break point on process method.
• Build will pause so that you can attach debugger.