Don't stop at breakpoints

Answered

The app will start, but don't stop at breakpoints when I run debug.

Using a mac, running intellij idea 2020.2.1 Ultimate Edition.

Here is my run configuration.

I can make another simple java project with success, so it may be a problem specific to this project, but I do not know the cause.

 

The following error appears in idea.log when running the application after startup, but I do not know if it is related.

java.lang.Throwable: Process creation:
at com.intellij.execution.process.BaseOSProcessHandler.<init>(BaseOSProcessHandler.java:31)
at com.intellij.execution.process.OSProcessHandler.<init>(OSProcessHandler.java:47)
at com.intellij.execution.process.KillableProcessHandler.<init>(KillableProcessHandler.java:37)
at com.intellij.execution.process.ColoredProcessHandler.<init>(ColoredProcessHandler.java:24)
at com.intellij.execution.process.ProcessHandlerFactoryImpl.createColoredProcessHandler(ProcessHandlerFactoryImpl.java:33)
at com.intellij.execution.configurations.JavaCommandLineStateUtil.startProcess(JavaCommandLineStateUtil.java:36)
at com.intellij.execution.configurations.JavaCommandLineState.startProcess(JavaCommandLineState.java:46)
at com.intellij.execution.configurations.JavaCommandLineState.startProcess(JavaCommandLineState.java:22)
at com.intellij.execution.configurations.CommandLineState.execute(CommandLineState.java:61)
at com.intellij.execution.impl.DefaultJavaProgramRunner.doExecute(DefaultJavaProgramRunner.java:127)
at com.intellij.execution.impl.DefaultJavaProgramRunner.lambda$execute$0(DefaultJavaProgramRunner.java:99)
at com.intellij.execution.ExecutionManager$startRunProfile$1.invoke(ExecutionManager.kt:64)
at com.intellij.execution.ExecutionManager$startRunProfile$1.invoke(ExecutionManager.kt:19)
at com.intellij.execution.impl.ExecutionManagerImpl$startRunProfile$1.invoke(ExecutionManagerImpl.kt:147)
at com.intellij.execution.impl.ExecutionManagerImpl$startRunProfile$1.invoke(ExecutionManagerImpl.kt:60)
at com.intellij.execution.impl.ExecutionManagerImpl$doStartRunProfile$startRunnable$1.run(ExecutionManagerImpl.kt:208)
at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:201)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:802)
at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLater$4(ApplicationImpl.java:322)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:84)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:132)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:47)
at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:188)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:971)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:841)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:452)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:744)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:451)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:802)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:499)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
0
2 comments

Is it a public project? Can you share sources? 

What Jetty plugin are you using in the IDE? For jetty runner see https://github.com/guikeller/jetty-runner/issues/71

0
Avatar
Permanently deleted user

Thank you.

I tried  "-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044" but it didn't work.

I also tried downgrading to 2019.3 IntelliJ but it didn't work.

Can you think of any other way?

0

Please sign in to leave a comment.