Debugging in IDE
Answered
I am facing an issue that when debugging the code, it is not stopping at break points.. Also in the Debug window there are no frames listed down.. what would be the solution for this? I am using idea-IU-163.7743.44 in Ubuntu 14.04
Please sign in to leave a comment.
Do you debug a plain Java project or an application server? Do you build the code with debug info enabled?
Are the sources and classes in sync?
Try to get the debugger log: https://intellij-support.jetbrains.com/hc/en-us/articles/207241125-Collecting-Java-debugger-logs.
Can you reproduce it with any project?
Any errors in idea.log (https://intellij-support.jetbrains.com/hc/articles/207241085)?
I have overridden the JAVA_OPTS in Startup/Connection. That's why it didn't work. I sorted that out. thanks
But i need to do a remote debugging for a jar file which runs on a apache common server (jsvc). I tried with Remote in the Run/Debug Configurations. Any suggestions?
Remote Application configuration will work fine if the target JVM is started with the suggested JVM options.