cdt/cdt_6_0_x/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/ICDTLaunchConfigurationConstants.java
author timkelly
Thu, 06 Aug 2009 12:19:08 -0500
changeset 54 89a4ce4b37f5
parent 51 49c226a8748e
permissions -rw-r--r--
merge in Ken's previous merges and bug 8513.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
37
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     1
/*******************************************************************************
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     2
 * Copyright (c) 2000, 2007 QNX Software Systems and others.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     3
 * All rights reserved. This program and the accompanying materials
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     4
 * are made available under the terms of the Eclipse Public License v1.0
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     5
 * which accompanies this distribution, and is available at
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     6
 * http://www.eclipse.org/legal/epl-v10.html
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     7
 *
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     8
 * Contributors:
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
     9
 *     QNX Software Systems - initial API and implementation
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    10
 *     Ken Ryall (Nokia) - bug 118894
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    11
 *     Ken Ryall (Nokia) - bug 178731
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    12
 *******************************************************************************/
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    13
package org.eclipse.cdt.debug.core;
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    14
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    15
public interface ICDTLaunchConfigurationConstants {
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    16
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    17
	public static final String CDT_LAUNCH_ID = "org.eclipse.cdt.launch"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    18
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    19
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    20
	 * This is the application launch type id.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    21
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    22
	public static final String ID_LAUNCH_C_APP = "org.eclipse.cdt.launch.applicationLaunchType"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    23
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    24
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    25
     * This is the attach launch type id.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    26
     *
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    27
     * @since 6.0
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    28
     */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    29
    public static final String ID_LAUNCH_C_ATTACH = "org.eclipse.cdt.launch.attachLaunchType"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    30
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    31
    /**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    32
     * This is the post-mortem launch type id.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    33
     *
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    34
     * @since 6.0
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    35
     */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    36
    public static final String ID_LAUNCH_C_POST_MORTEM = "org.eclipse.cdt.launch.postmortemLaunchType"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    37
    
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    38
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    39
	 * Identifier for the C/C++ program process type, which is annotated on processes created
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    40
	 * by the C/C++ application launch delegate.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    41
	 * 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    42
	 * (value <code>"C/C++"</code>).
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    43
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    44
	public static final String ID_PROGRAM_PROCESS_TYPE = "C/C++"; //$NON-NLS-1$ 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    45
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    46
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    47
	 * Launch configuration attribute key. The value is a name of a C/C++
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    48
	 * project associated with a C/C++ launch configuration.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    49
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    50
	public static final String ATTR_PROJECT_NAME = CDT_LAUNCH_ID + ".PROJECT_ATTR"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    51
54
89a4ce4b37f5 merge in Ken's previous merges and bug 8513.
timkelly
parents: 51
diff changeset
    52
	/**  Launch configuration attribute value constants for build before launch. 
89a4ce4b37f5 merge in Ken's previous merges and bug 8513.
timkelly
parents: 51
diff changeset
    53
	  */  
89a4ce4b37f5 merge in Ken's previous merges and bug 8513.
timkelly
parents: 51
diff changeset
    54
	public static final int BUILD_BEFORE_LAUNCH_DISABLED = 0;  
89a4ce4b37f5 merge in Ken's previous merges and bug 8513.
timkelly
parents: 51
diff changeset
    55
	public static final int BUILD_BEFORE_LAUNCH_ENABLED = 1;
89a4ce4b37f5 merge in Ken's previous merges and bug 8513.
timkelly
parents: 51
diff changeset
    56
	public static final int BUILD_BEFORE_LAUNCH_USE_WORKSPACE_SETTING = 2;
89a4ce4b37f5 merge in Ken's previous merges and bug 8513.
timkelly
parents: 51
diff changeset
    57
	
89a4ce4b37f5 merge in Ken's previous merges and bug 8513.
timkelly
parents: 51
diff changeset
    58
	/**  Launch configuration attribute key. The value is the ID of the project's  1.15 
89a4ce4b37f5 merge in Ken's previous merges and bug 8513.
timkelly
parents: 51
diff changeset
    59
	 * build configuration that should be used when a build is required before launch.  1.16 
89a4ce4b37f5 merge in Ken's previous merges and bug 8513.
timkelly
parents: 51
diff changeset
    60
	 */  
89a4ce4b37f5 merge in Ken's previous merges and bug 8513.
timkelly
parents: 51
diff changeset
    61
	public static final String ATTR_BUILD_BEFORE_LAUNCH = CDT_LAUNCH_ID + ".ATTR_BUILD_BEFORE_LAUNCH_ATTR"; //$NON-NLS-1$  
89a4ce4b37f5 merge in Ken's previous merges and bug 8513.
timkelly
parents: 51
diff changeset
    62
	
37
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    63
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    64
	 * Launch configuration attribute key. The value is the ID of the project's
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    65
	 * build configuration that should be used when a build is required before launch.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    66
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    67
	public static final String ATTR_PROJECT_BUILD_CONFIG_ID = CDT_LAUNCH_ID + ".PROJECT_BUILD_CONFIG_ID_ATTR"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    68
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    69
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    70
	 * Launch configuration attribute key. The value is a string specifying
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    71
	 * application a C/C++ launch configuration.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    72
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    73
	public static final String ATTR_PROGRAM_NAME = CDT_LAUNCH_ID + ".PROGRAM_NAME"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    74
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    75
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    76
	 * Launch configuration attribute key. The value is a string specifying
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    77
	 * application arguments for a C/C++ launch configuration, as they should
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    78
	 * appear on the command line.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    79
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    80
	public static final String ATTR_PROGRAM_ARGUMENTS = CDT_LAUNCH_ID + ".PROGRAM_ARGUMENTS"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    81
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    82
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    83
	 * Launch configuration attribute key. The value is a string specifying a
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    84
	 * path to the working directory to use when launching a the application.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    85
	 * When unspecified, the working directory is inherited from the current
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    86
	 * process. When specified as an absolute path, the path represents a path
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    87
	 * in the local file system. When specified as a full path, the path
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    88
	 * represents a workspace relative path.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    89
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    90
	public static final String ATTR_WORKING_DIRECTORY = CDT_LAUNCH_ID + ".WORKING_DIRECTORY"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    91
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    92
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    93
	 * Launch configuration attribute key. The value is a boolean specifying
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    94
	 * whether the current enviroment should be inherited when the application
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    95
	 * is launched.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    96
	 * @deprecated - see ILaunchManager.ATTR_APPEND_ENVIRONMENT_VARIABLES
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    97
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    98
	public static final String ATTR_PROGRAM_ENVIROMENT_INHERIT = CDT_LAUNCH_ID + ".ENVIRONMENT_INHERIT"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
    99
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   100
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   101
	 * Launch configuration attribute key. The value is a Map specifying the
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   102
	 * environment to use when launching a C/C++ application.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   103
	 * 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   104
	 * @deprecated - see ILaunchManager.ATTR_ENVIRONMENT_VARIABLES
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   105
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   106
	public static final String ATTR_PROGRAM_ENVIROMENT_MAP = CDT_LAUNCH_ID + ".ENVIRONMENT_MAP"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   107
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   108
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   109
	 * Launch configuration attribute key. The value is the platform string of
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   110
	 * the launch configuration
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   111
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   112
	public static final String ATTR_PLATFORM = CDT_LAUNCH_ID + ".PLATFFORM"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   113
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   114
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   115
	 * Launch configuration attribute key. The value is a boolean specifiying whether
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   116
	 * to connect a terminal to the processed stdin/stdout
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   117
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   118
	public static final String ATTR_USE_TERMINAL = CDT_LAUNCH_ID + ".use_terminal"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   119
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   120
	public static final boolean USE_TERMINAL_DEFAULT = true;
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   121
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   122
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   123
	 * Launch configuration attribute key. The value is the debugger id used
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   124
	 * when launching a C/C++ application for debug.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   125
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   126
	public static final String ATTR_DEBUGGER_ID = CDT_LAUNCH_ID + ".DEBUGGER_ID"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   127
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   128
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   129
	 * Launch configuration attribute key. The value is the platform string of
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   130
	 * the launch configuration
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   131
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   132
	public static final String ATTR_DEBUGGER_SPECIFIC_ATTRS_MAP = CDT_LAUNCH_ID + ".DEBUGGER_SPECIFIC_ATTRS_MAP"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   133
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   134
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   135
	 * Launch configuration attribute key. The value is a boolean specifying
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   136
	 * whether to stop at main().
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   137
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   138
	public static final String ATTR_DEBUGGER_STOP_AT_MAIN = CDT_LAUNCH_ID + ".DEBUGGER_STOP_AT_MAIN"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   139
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   140
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   141
	 * Launch configuration attribute key. The value is a String specifying 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   142
	 * the symbol to use for the main breakpoint.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   143
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   144
	public static final String ATTR_DEBUGGER_STOP_AT_MAIN_SYMBOL = CDT_LAUNCH_ID + ".DEBUGGER_STOP_AT_MAIN_SYMBOL"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   145
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   146
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   147
	 * Launch configuration attribute key. The value is a String specifying 
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   148
	 * the register groups memento.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   149
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   150
	public static final String ATTR_DEBUGGER_REGISTER_GROUPS = CDT_LAUNCH_ID + ".DEBUGGER_REGISTER_GROUPS"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   151
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   152
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   153
	 * Launch configuration attribute key. The value is an int specifying the
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   154
	 * process id to attach to if the ATTR_DEBUGGER_START_MODE is
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   155
	 * DEBUGGER_MODE_ATTACH. A non existant value or -1 for this entry indicates
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   156
	 * that the user should be asked to supply this value by the launch
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   157
	 * delegate. This value is primarily designed to be used by programatic
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   158
	 * users of the debug interface.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   159
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   160
	public static final String ATTR_ATTACH_PROCESS_ID = CDT_LAUNCH_ID + ".ATTACH_PROCESS_ID"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   161
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   162
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   163
	 * Launch configuration attribute key. The value is a String specifying the
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   164
	 * corefile path if the ATTR_DEBUGGER_START_MODE is DEBUGGER_MODE_COREFILE.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   165
	 * A non existant value or null for this entry indicates that the user
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   166
	 * should be asked to supply this value by the launch delegate. This value
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   167
	 * is primarily designed to be used by programatic users of the debug
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   168
	 * interface.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   169
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   170
	public static final String ATTR_COREFILE_PATH = CDT_LAUNCH_ID + ".COREFILE_PATH"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   171
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   172
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   173
	 * Launch configuration attribute key. The value is the startup mode for the
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   174
	 * debugger.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   175
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   176
	public static final String ATTR_DEBUGGER_START_MODE = CDT_LAUNCH_ID + ".DEBUGGER_START_MODE"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   177
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   178
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   179
	 * Launch configuration attribute key. The value is a boolean specifying
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   180
	 * whether to enable variable bookkeeping.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   181
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   182
	public static final String ATTR_DEBUGGER_ENABLE_VARIABLE_BOOKKEEPING = CDT_LAUNCH_ID + ".ENABLE_VARIABLE_BOOKKEEPING"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   183
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   184
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   185
	 * Launch configuration attribute key. The value is a boolean specifying
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   186
	 * whether to enable register bookkeeping.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   187
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   188
	public static final String ATTR_DEBUGGER_ENABLE_REGISTER_BOOKKEEPING = CDT_LAUNCH_ID + ".ENABLE_REGISTER_BOOKKEEPING"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   189
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   190
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   191
	 * launch configuration attribute key.  The value is a string specifying the protocol to
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   192
	 * use.  For now only "mi", "mi1", "m2", "mi3" are supported.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   193
	 * @deprecated
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   194
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   195
	public static final String ATTR_DEBUGGER_PROTOCOL = CDT_LAUNCH_ID + ".protocol"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   196
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   197
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   198
	 * Launch configuration attribute key. The value is a global variables'
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   199
	 * memento.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   200
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   201
	public static final String ATTR_DEBUGGER_GLOBAL_VARIABLES = CDT_LAUNCH_ID + ".GLOBAL_VARIABLES"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   202
	
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   203
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   204
	 * Launch configuration attribute key. The value is a format list'
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   205
	 * memento.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   206
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   207
	public static final String ATTR_DEBUGGER_FORMAT = CDT_LAUNCH_ID + ".FORMAT"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   208
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   209
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   210
	 * Launch configuration attribute key. The value is a memory blocks' memento.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   211
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   212
	public static final String ATTR_DEBUGGER_MEMORY_BLOCKS = CDT_LAUNCH_ID + ".MEMORY_BLOCKS"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   213
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   214
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   215
	 * Launch configuration attribute value. The key is
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   216
	 * ATTR_DEBUGGER_STOP_AT_MAIN.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   217
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   218
	public static boolean DEBUGGER_STOP_AT_MAIN_DEFAULT = true;
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   219
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   220
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   221
	 * Launch configuration attribute value. The key is
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   222
	 * DEBUGGER_STOP_AT_MAIN_SYMBOL.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   223
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   224
	public static String DEBUGGER_STOP_AT_MAIN_SYMBOL_DEFAULT = "main"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   225
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   226
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   227
	 * Launch configuration attribute value. The key is
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   228
	 * ATTR_DEBUGGER_START_MODE. Startup debugger running the program.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   229
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   230
	public static String DEBUGGER_MODE_RUN = "run"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   231
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   232
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   233
	 * Launch configuration attribute value. The key is
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   234
	 * ATTR_DEBUGGER_START_MODE. Startup debugger and attach to running process.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   235
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   236
	public static String DEBUGGER_MODE_ATTACH = "attach"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   237
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   238
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   239
	 * Launch configuration attribute value. The key is
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   240
	 * ATTR_DEBUGGER_START_MODE. Startup debugger to view a core file.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   241
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   242
	public static String DEBUGGER_MODE_CORE = "core"; //$NON-NLS-1$
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   243
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   244
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   245
	 * Status code indicating that the Eclipse runtime does not support
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   246
	 * launching a program with a working directory. This feature is only
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   247
	 * available if Eclipse is run on a 1.3 runtime or higher.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   248
	 * <p>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   249
	 * A status handler may be registered for this error condition, and should
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   250
	 * return a Boolean indicating whether the program should be relaunched with
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   251
	 * the default working directory.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   252
	 * </p>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   253
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   254
	public static final int ERR_WORKING_DIRECTORY_NOT_SUPPORTED = 100;
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   255
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   256
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   257
	 * Status code indicating the specified working directory does not exist.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   258
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   259
	public static final int ERR_WORKING_DIRECTORY_DOES_NOT_EXIST = 101;
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   260
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   261
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   262
	 * Status code indicating a launch configuration does not specify a project
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   263
	 * when a project is required.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   264
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   265
	public static final int ERR_UNSPECIFIED_PROJECT = 102;
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   266
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   267
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   268
	 * Status code indicating a launch configuration does not specify a vaild
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   269
	 * project.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   270
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   271
	public static final int ERR_NOT_A_C_PROJECT = 103;
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   272
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   273
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   274
	 * Status code indicating a launch configuration does not specify a vaild
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   275
	 * program.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   276
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   277
	public static final int ERR_PROGRAM_NOT_EXIST = 104;
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   278
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   279
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   280
	 * Status code indicating a launch configuration does not specify a program
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   281
	 * name.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   282
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   283
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   284
	public static final int ERR_UNSPECIFIED_PROGRAM = 105;
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   285
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   286
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   287
	 * Status code indicating that the CDT debugger is missing
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   288
	 * <p>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   289
	 * A status handler may be registered for this error condition, and should
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   290
	 * return a String indicating which debugger to use.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   291
	 * </p>
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   292
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   293
	public static final int ERR_DEBUGGER_NOT_INSTALLED = 106;
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   294
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   295
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   296
	 * Status code indicating a launch configuration does not specify a vaild
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   297
	 * program.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   298
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   299
	public static final int ERR_PROGRAM_NOT_BINARY = 107;
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   300
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   301
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   302
	 * Status code indicating a the user did not specify a process id
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   303
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   304
	public static final int ERR_NO_PROCESSID = 107;
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   305
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   306
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   307
	 * Status code indicating a the user did not specify a path to a corefile
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   308
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   309
	public static final int ERR_NO_COREFILE = 108;
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   310
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   311
	/**
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   312
	 * Status code indicating an unexpected internal error.
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   313
	 */
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   314
	public static final int ERR_INTERNAL_ERROR = 150;
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   315
c2bce6dd59e7 add cdt_6_0_x
cawthron
parents:
diff changeset
   316
}