add support for RemoteConnectionCreator but not JavaCommandLine
Reviewed-by: IJ-CR-162655
(cherry picked from commit a05f60aec330697f6ca370ef9370ea96d4dfc16b)
GitOrigin-RevId: 821d61d33267f5176594f381198f58100a332cdd
the dedicated debugger runner leads to problems with configuration, so connection patching is moved to PatchedRunnableState
Reviewed-by: IJ-CR-162655
(cherry picked from commit 588d4601ef5f6c3c4f652ae7c8cdd213f4700fe5)
GitOrigin-RevId: a0ee710f5428f2c81b4d71034e3da3e760f3bfd8
In this commit 2de5dc57 the logic of isEvaluationPossible method was changed, though it's sometimes necessary to only check whether evaluation will be possible on this context.
GitOrigin-RevId: 18fbfda949fde8d7ae0a43c38342077242d3bd1d
DumpItem is supposed to represent threads, virtual threads or coroutines.
Related tickets:
IDEA-355724
IDEA-367130
GitOrigin-RevId: 738b6dd7f72e87e0e8d5e5fb453eb6df95846e26
```
java.lang.IllegalStateException: WriteIntentReadAction can not be called from ReadAction
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWriteIntentReadAction(AnyThreadWriteThreadingSupport.kt:240)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteIntentReadAction(ApplicationImpl.java:934)
at com.intellij.openapi.application.WriteIntentReadAction.compute(WriteIntentReadAction.java:55)
at com.intellij.openapi.application.WriteIntentReadAction.run(WriteIntentReadAction.java:23)
at com.intellij.openapi.wm.impl.FocusManagerImpl.lambda$doWhenFocusSettlesDown$4(FocusManagerImpl.java:178)
at com.intellij.util.ui.EdtInvocationManager.invokeLaterIfNeeded(EdtInvocationManager.java:32)
at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:173)
at com.intellij.openapi.wm.impl.FocusManagerImpl.doWhenFocusSettlesDown(FocusManagerImpl.java:165)
at com.intellij.ui.tabs.impl.JBTabsImpl.removeDeferred(JBTabsImpl.kt:1647)
at com.intellij.ui.tabs.impl.JBTabsImpl.processRemove(JBTabsImpl.kt:2580)
at com.intellij.ui.tabs.impl.JBTabsImpl.removeTab(JBTabsImpl.kt:2487)
at com.intellij.ui.tabs.impl.JBTabsImpl.removeTab$default(JBTabsImpl.kt:2448)
at com.intellij.ui.tabs.impl.JBTabsImpl.removeTab(JBTabsImpl.kt:2446)
at com.intellij.execution.ui.layout.impl.GridCellImpl.lambda$remove$2(GridCellImpl.java:119)
at com.intellij.execution.ui.layout.impl.GridCellImpl.revalidateCell(GridCellImpl.java:139)
at com.intellij.execution.ui.layout.impl.GridCellImpl.remove(GridCellImpl.java:119)
at com.intellij.execution.ui.layout.impl.GridCellImpl.minimize(GridCellImpl.java:366)
at com.intellij.execution.ui.layout.impl.GridCellImpl.restoreLastUiState(GridCellImpl.java:268)
at com.intellij.execution.ui.layout.impl.GridImpl.restoreLastUiState(GridImpl.java:172)
at com.intellij.execution.ui.layout.impl.RunnerContentUi$5.contentAdded(RunnerContentUi.java:829)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.intellij.util.EventDispatcher.dispatchVoidMethod(EventDispatcher.java:120)
at com.intellij.util.EventDispatcher.lambda$createMulticaster$1(EventDispatcher.java:85)
at jdk.proxy2/jdk.proxy2.$Proxy131.contentAdded(Unknown Source)
at com.intellij.ui.content.impl.ContentManagerImpl.fireContentAdded(ContentManagerImpl.java:636)
at com.intellij.ui.content.impl.ContentManagerImpl.doAddContent(ContentManagerImpl.java:210)
at com.intellij.ui.content.impl.ContentManagerImpl.addContent(ContentManagerImpl.java:174)
at com.intellij.execution.ui.layout.impl.RunnerLayoutUiImpl.addContent(RunnerLayoutUiImpl.java:110)
at com.intellij.execution.ui.layout.impl.RunnerLayoutUiImpl.addContent(RunnerLayoutUiImpl.java:98)
at org.jetbrains.kotlin.idea.debugger.coroutine.DebuggerConnection.registerXCoroutinesPanel(DebuggerConnection.kt:97)
at org.jetbrains.kotlin.idea.debugger.coroutine.DebuggerConnection.processStarted$lambda$1(DebuggerConnection.kt:69)
at com.intellij.debugger.DebuggerInvocationUtil.lambda$swingInvokeLater$0(DebuggerInvocationUtil.java:23)
at com.intellij.openapi.application.ReadAction.lambda$run$1(ReadAction.java:54)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runReadAction$lambda$9(AnyThreadWriteThreadingSupport.kt:462)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runWithTemporaryThreadLocal(AnyThreadWriteThreadingSupport.kt:203)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runReadAction(AnyThreadWriteThreadingSupport.kt:462)
at com.intellij.openapi.application.impl.AnyThreadWriteThreadingSupport.runReadAction(AnyThreadWriteThreadingSupport.kt:387)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:875)
at com.intellij.openapi.application.ReadAction.compute(ReadAction.java:66)
at com.intellij.openapi.application.ReadAction.run(ReadAction.java:53)
at com.intellij.debugger.DebuggerInvocationUtil.lambda$swingInvokeLater$1(DebuggerInvocationUtil.java:23)
```
GitOrigin-RevId: 24ed5b2bd9a65bcbe5df8037ce1383167e9c982a