Debugger halts app
Answered
I turn on the debugger and all app activity stops. As soon as I turn debugger off the app starts processing again normally. I have removed all breakpoints, restarted intelli, restarted the app and restarted my machine (mbp). Any suggestion as to what is going on?
Please sign in to leave a comment.
Do you use the Remote debug? What options did you supply to start the remote app in debug mode?
Please upload .idea/workspace.xml file at https://uploads.jetbrains.com and provide the ID.
Yes, remote debugger with standard options.
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=6006
(typed manually so possible typos but the args are def correct in intelli)
My company policy won’t allow me to upload xml. Is there something specific you are looking for I can get?
Looking for the breakpoints information stored in the xml file.
i added breakpoints back in as you can see
So you clearly have a lot of breakpoints enabled. Try removing this section from the XML file when the IDE is not running.
Hey Serge-
this is still an issue. I removed all breakpoints in the xml and it works. I added one breakpoint in and it stops correctly. Then when I try to step into it it goes nowhere and the app freezes. As soon as I stop debugger the app proceeds.
Try changing breakpoint suspend policy, see what your app is doing using jstack, try to check the debug messages to see what's going on and why it hangs: https://intellij-support.jetbrains.com/hc/en-us/articles/207241125 .