Tuesday, February 17, 2009

Debugging Grails

Debugging grails almost got me crazy. I followed as said, trying it many times. At last google led me to this link which shed some light.

Let's get to the point, here's how to enable debugging grails (groovy) :
- Add JDK's tools.jar to your project build path.

Yep, that's all.
Or I'll be more specific here :
- Open your project properties, go to Java Build Path
- On tab Libraries, Add External JARs.
- Pick tools.jar from your {JDK_HOME}/lib

Fyi, I'm using grails 1.0.4 and groovy eclipse 1.5.7.20081120_2330.

No comments: