Intelij debugger isn't working for gradle project

Answered

Hello, I have a problem with debugging gradle project. Debugger works fine with normal java application, but it isn't for gradle project. I can set breakpoints, but they are never hit. What is worth mentioning, breakpoints doesn't have tick on them. Anyone knows how to solve this issue?

0
3 comments
Avatar
Yaroslav Bedrov

Hello,

Is it reproducible with new sample project? Could you share your project for investigation?

0

It looks like it's not working in any gradle project, using debug doesn't hit breakpoint. This is example of sample project:

0
Avatar
Yaroslav Bedrov

Your project structure looks strange. Please try to use common pattern: https://docs.gradle.org/current/userguide/organizing_gradle_projects.html

0

Please sign in to leave a comment.