Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 42c237c0433eda76db1e926f81bceacaed455ab8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
 *(c) Copyright QNX Software Systems Ltd. 2002.
 * All Rights Reserved.
 * 
 */

package org.eclipse.cdt.debug.core.model;

/**
 * 
 * Represents the current state of debug element.
 * 
 * @since Aug 6, 2002
 */
public interface IState
{
	public static final int UNKNOWN = 0;
	public static final int NOT_RESPONDING = 1;
	public static final int STARTING = 2;
	public static final int ATTACHING = 3;
	public static final int DISCONNECTING = 4;
	public static final int RUNNING = 5;
	public static final int STEPPING = 6;
	public static final int SUSPENDED = 7;
	public static final int EXITED = 8;
	public static final int DISCONNECTED = 9;
	public static final int TERMINATED = 10;
	public static final int CORE_DUMP_FILE = 11;
	
	/**
	 * Returns the identifier of the current state.
	 * 
	 * @return the identifier of the current state
	 */
	int getCurrentStateId();
	
	/**
	 * Returns the info object associated with the current state.
	 * 
	 * @return the info object associated with the current state
	 */
	Object getCurrentStateInfo();
}

Back to the top