Unable to set breakpoints in gradle project

Hi all,

I'm not having any luck setting breakpoints in a gradle project.  It seems I should be able to right click on the 'Run' in JetGradle, and set breakpoints, but they're just not getting hit, even though they seem to be valid (no x in the breakpoint).  I've even tried attaching to the process remotely which works fine, but also doesn't hit the breakpoints that it's clearly executing code for.

Thanks

2 comments

Hi Paul,

Are you trying to debug tests executed via gradle? (looks like http://youtrack.jetbrains.com/issue/IDEA-107959 so far)

Denis

0

Hi Denis,

No, unfortunately it's not just tests.  It happens even when using 'gradle run'.  

I've posted in this issue http://youtrack.jetbrains.com/issue/IDEA-86465 more details and will follow up there as well.

0

Please sign in to leave a comment.