protected void waitDebuggerConnected ( ILaunch launch , DebugSessionAcceptor acceptor ) throws CoreException { int timeout = VdmDebugPlugin . getDefault ( ) . getConnectionTimeout ( ) ; if ( ! acceptor . waitConnection ( timeout ) ) { launch . terminate ( ) ; return ; } if ( ! acceptor . waitInitialized ( 60 * 60 * 1000 ) ) { launch . terminate ( ) ; abort ( "errDebuggingEngineNotInitialized" , null ) ; } }
Waiting debugging process to connect to current launch