mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-05 01:50:56 +07:00
[debugger] Add assert debbuger session
GitOrigin-RevId: 7a42d615967a0ecb3a70d590ebfd71fb35ee9cc3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
858b5e1e70
commit
3df6e15a01
@@ -519,6 +519,7 @@ public abstract class DebuggerTestCase extends ExecutionWithDebuggerToolsTestCas
|
||||
assertFalse(EDT.isCurrentThreadEdt());
|
||||
DebuggerSession debuggerSession = DebuggerManagerEx.getInstanceEx(myProject)
|
||||
.attachVirtualMachine(new DefaultDebugEnvironment(environment, state, remoteConnection, pollConnection));
|
||||
assertNotNull(debuggerSession);
|
||||
ApplicationManager.getApplication().invokeAndWait(() -> {
|
||||
try {
|
||||
XDebuggerManager.getInstance(myProject).startSession(environment, new XDebugProcessStarter() {
|
||||
|
||||
Reference in New Issue
Block a user