I'm very new to Grails so I'm not sure if this is a Grails 2.0 problem or a Grails problem in general.
I'm developing a Grails 2.0 application,and running it in Debug mode. If I change a class (with the very latest 11.0.1 build) it correctly recompiles and the class is correctly reloaded. But debugging stops working for that class. Existing breakpoints no longer get hit and new breakpoints don't work either. I'm assuming that IntelliJ is still holding a reference to the old compiled code and setting breakpoints in there, not in the new compiled code.
Is there a workaround for this? Other then starting and stopping the application? Something I can do to cause IntelliJ to switch over to debugging the new compiled code?