Debugger not starting for a multi source-flies java application

已回答

My IntelliJ debugger works fine for small apps with just a few java packages, but I am trying to debug a large app with ~5000 source files, and I cannot make the debugger function - breakpoints are ignored, and the Debugger function buttons (Step in, etc) appear grayed-out. I tried to set up a Configuration with CLI inputs, and the run takes place normally, but the debugger remains autistic on me.

Any suggestions? Thanks in advanced.

 

0

What run/debug configuration type do you use? Do you delegate the build/run to Maven/Gradle?

Does the debugger get connected to the process?

If it's slow and freezing, see https://intellij-support.jetbrains.com/hc/en-us/articles/206544799.

0

I tried a Configuration of the type Shell Script>Script Text, and another one of the type Application>Build and Run....but you are making me think maybe I defined those incorrectly. The application has an Ant type of build file (not Maven or Gradle)....should I include the ANT build in the Configuration, and have it build every time I launch the Debugger?

0

Application run configuration should work fine. Make sure it actually runs your code and the debugger is connected to the VM with your code.

You can contact support with a private ticket at https://intellij-support.jetbrains.com/hc/requests/new and show the issue with a video and/or attach a sample project to reproduce it so that we can better help you.

0

Thanks a lot Serge, I will do that

0

请先登录再写评论。