/*******************************************************************************
* Copyright (c) 2009 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
* Zend Technologies
*******************************************************************************/
package org.eclipse.php.internal.debug.core;
/**
* Constants for the PHP debugger.
*/
public interface IPHPDebugConstants {
public static final String ATTR_WORKING_DIRECTORY = "ATTR_WORKING_DIRECTORY"; //$NON-NLS-1$
public static final String ATTR_EXECUTABLE_LOCATION = "ATTR_LOCATION"; //$NON-NLS-1$
public static final String ATTR_INI_LOCATION = "ATTR_INI_LOCATION"; //$NON-NLS-1$
public static final String ATTR_FILE = "ATTR_FILE"; //$NON-NLS-1$
public static final String ATTR_FILE_FULL_PATH = "ATTR_FILE_FULL_PATH"; //$NON-NLS-1$
public static final String ATTR_ENABLE_CODE_COVERAGE = "ATTR_ENABLE_CODE_COVERAGE"; //$NON-NLS-1$
/**
* Unique identifier for the PHP debug model (value
*/
public static final String ID_PHP_DEBUG_CORE = "org.eclipse.php.debug.core"; //$NON-NLS-1$
public static final String PHP_Port = ID_PHP_DEBUG_CORE + ".PHP_Port"; //$NON-NLS-1$
public static final String PHP_URL = ID_PHP_DEBUG_CORE + ".PHP_URL"; //$NON-NLS-1$
public static final String PHP_Project = ID_PHP_DEBUG_CORE + ".PHP_Project"; //$NON-NLS-1$
public static final String PHP_File = ID_PHP_DEBUG_CORE + ".PHP_File"; //$NON-NLS-1$
public static final String PHP_Exe = ID_PHP_DEBUG_CORE + ".PHP_EXE"; //$NON-NLS-1$
public static final String ConditionEnabled = ID_PHP_DEBUG_CORE + ".ConditionEnabled"; //$NON-NLS-1$
public static final String Condition = ID_PHP_DEBUG_CORE + ".Condition"; //$NON-NLS-1$
public static final String PHPProcessType = ID_PHP_DEBUG_CORE + ".launching.PHPProcess"; //$NON-NLS-1$
public static final String RUN_WITH_DEBUG_INFO = ID_PHP_DEBUG_CORE + ".RunWithDebugInfo"; //$NON-NLS-1$
public static final String OPEN_IN_BROWSER = ID_PHP_DEBUG_CORE + ".OpenInBrowser"; //$NON-NLS-1$
public static final String PHPEXELaunchType = "org.eclipse.php.debug.core.launching.PHPExeLaunchConfigurationType"; //$NON-NLS-1$
public static final String PHPServerLaunchType = "org.eclipse.php.debug.core.launching.webPageLaunch"; //$NON-NLS-1$
public static final String PHPRemoteLaunchType = "org.eclipse.php.debug.core.remotePHPLaunchConfigurationType"; //$NON-NLS-1$
// public static final String USE_INTERNAL_BROWSER = ID_PHP_DEBUG_CORE
// + ".UseExternalBrowser";
public static final String USE_SSH_TUNNEL = ID_PHP_DEBUG_CORE + ".UseSSHTunnel"; //$NON-NLS-1$
public static final String SSH_TUNNEL_USER_NAME = ID_PHP_DEBUG_CORE + ".SSHTunnelUserName"; //$NON-NLS-1$
public static final String SSH_TUNNEL_PASSWORD = ID_PHP_DEBUG_CORE + ".SSHTunnelPassword"; //$NON-NLS-1$
public static final String SSH_TUNNEL_SECURE_PREF_NODE = "/org.eclipse.php/DEBUG"; //$NON-NLS-1$
/**
* Status code indicating an unexpected internal error (value
* <code>150</code>).
*/
public static final int INTERNAL_ERROR = 150;
/**
* Status code indicating an error while connecting to the debug server
* (valuse <code>200</code>), usually, as a result of a debug session that
* is initialized on a file that does not exist on the server side.
*/
public static final int DEBUG_CONNECTION_ERROR = 200;
/**
* Debug parameters initializer preferences key
*/
public static final String PHP_DEBUG_PARAMETERS_INITIALIZER = ID_PHP_DEBUG_CORE + ".debugParametersInitializer"; //$NON-NLS-1$
public static final String DEBUG_PER_PROJECT = ID_PHP_DEBUG_CORE + ".use-project-settings"; //$NON-NLS-1$
public static final String DEBUG_QUALIFIER = ID_PHP_DEBUG_CORE + ".Debug_Process_Preferences"; //$NON-NLS-1$
public static final String PREFERENCE_PAGE_ID = "org.eclipse.php.debug.ui.preferences.PhpDebugPreferencePage"; //$NON-NLS-1$
public static final String PROJECT_PAGE_ID = "org.eclipse.php.debug.ui.property.PhpDebugPreferencePage"; //$NON-NLS-1$
public static final String DEBUGGING_PAGES = "debugPages"; //$NON-NLS-1$
public static final String DEBUGGING_ALL_PAGES = "debugAllPages"; //$NON-NLS-1$
public static final String DEBUGGING_FIRST_PAGE = "debugFirstPage"; //$NON-NLS-1$
public static final String DEBUGGING_START_FROM = "debugFrom"; //$NON-NLS-1$
public static final String DEBUGGING_SHOULD_CONTINUE = "debugFromURL"; //$NON-NLS-1$
public static final String DEBUGGING_START_FROM_URL = "debugContinue"; //$NON-NLS-1$
public static final String DEBUGGING_NO_REMOTE = "no_remote"; //$NON-NLS-1$
public static final String DEBUGGING_DEBUG_NO_REMOTE = "debugNoRemote"; //$NON-NLS-1$
public static final String DEBUGGING_GET_FILE_CONTENT = "get_file_content"; //$NON-NLS-1$
public static final String DEBUGGING_LINE_NUMBER = "line_number"; //$NON-NLS-1$
public static final String DEBUGGING_USE_SERVER_FILES = "debugNoRemote"; //$NON-NLS-1$
public static final String DEBUGGING_COLLECT_CODE_COVERAGE = "collectCodeCoverage"; //$NON-NLS-1$
public static final String PREF_STEP_FILTERS_LIST = ID_PHP_DEBUG_CORE + ".pref_step_filters_list"; //$NON-NLS-1$
}