Package org.eclipse.php.internal.debug.core.zend.debugger

Examples of org.eclipse.php.internal.debug.core.zend.debugger.PHPExecutableDebuggerInitializer$ProcessCrashDetector2


      launch.setAttribute(IDebugParametersKeys.EXECUTABLE_LAUNCH,
          Boolean.toString(true));

      IDebugParametersInitializer parametersInitializer = DebugParametersInitializersRegistry
          .getBestMatchDebugParametersInitializer(launch);
      PHPExecutableDebuggerInitializer debuggerInitializer = new PHPExecutableDebuggerInitializer(
          launch);

      String phpExeString = new File(phpExe).getAbsolutePath();
      String fileName = new File(fileToDebug).getAbsolutePath();
      String query = PHPLaunchUtilities.generateQuery(launch,
          parametersInitializer);
      String iniFileLocation = launch
          .getAttribute(IDebugParametersKeys.PHP_INI_LOCATION);
      String workingDir = new File(fileToDebug).getParentFile()
          .getAbsolutePath();

      debuggerInitializer.initializeDebug(phpExeString, fileName,
          workingDir, query, envVariables, iniFileLocation);

    } catch (java.io.IOException e1) {
      Logger.logException(
          "PHPDebugTarget: Debugger didn't find file to debug.", e1); //$NON-NLS-1$
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.debug.core.zend.debugger.PHPExecutableDebuggerInitializer$ProcessCrashDetector2

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.