I am trying to use the debugger in intellij but the breakpoints are skipped

已回答

I am trying to use the debugger in intellij but the breakpoints are skipped as if the app has passed through it. I try on lines located in the service and the controller and this problem occurs. When I try in entities it doesn't happen.

0

Please contact support at https://intellij-support.jetbrains.com/hc/requests/new with a small sample project and the steps to reproduce. Make sure to specify your IntelliJ IDEA version and the JDK version/vendor/build used to start your app.

If the breakpoint has a checkmark, it should stop on it, double check the properties of the breakpoint to ensure Suspend option is enabled.

Try adding a logging statement before the breakpoint, debug the app again, do you see this message in the log when the breakpoint is skipped?

There can be also multiple versions of the same class in the classpath and the one loaded by the JVM can be different from the one that corresponds to the sources you have in the IDE. Ensure there is only one instance/version of each class in the JVM classpath.

0

请先登录再写评论。