mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
forked tests debugging: fixed assert on reattach
This commit is contained in:
@@ -1769,7 +1769,12 @@ public abstract class DebugProcessImpl extends UserDataHolderBase implements Deb
|
||||
ApplicationManager.getApplication().assertIsDispatchThread(); //TODO: remove this requirement
|
||||
((XDebugSessionImpl)getXdebugProcess().getSession()).reset();
|
||||
myState.set(STATE_INITIAL);
|
||||
myRequestManager.processDetached(this, false);
|
||||
getManagerThread().schedule(new DebuggerCommandImpl() {
|
||||
@Override
|
||||
protected void action() throws Exception {
|
||||
myRequestManager.processDetached(DebugProcessImpl.this, false);
|
||||
}
|
||||
});
|
||||
myConnection = environment.getRemoteConnection();
|
||||
getManagerThread().restartIfNeeded();
|
||||
createVirtualMachine(environment.getSessionName(), environment.isPollConnection());
|
||||
|
||||
Reference in New Issue
Block a user