hauner / grails-cucumber

a Cucumber plugin for Grails
https://github.com/hauner/grails-cucumber
63 stars 35 forks source link

Debug step definitions with Eclipse #5

Open rsilva4-zz opened 12 years ago

rsilva4-zz commented 12 years ago

I'm using Eclipse (SpringSource Tool Suite 2.9.1) and Java 7, however if I define breakpoints inside my step definitions the debugger is not triggered as it should be.

For running the tests I'm using the command grails test-app functional:cucumber and using test ":cucumber:0.2.3" version of the plugin.

hauner commented 12 years ago

This is probably an eclipse issue and nothing that I can fix in the plugin.

It also works for me in IDEA (at least most of the time, sometimes the breakpoints don't even work in "normal" groovy code).

Anyway, if anyone knows how to make it work in eclipse, let us know... :-)