Skip to main content
summaryrefslogtreecommitdiffstats
blob: 99734be354840ab61d7a5045135215ca9b11434b (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
44
45
46
47
/*
 *(c) Copyright QNX Software Systems Ltd. 2002.
 * All Rights Reserved.
 * 
 */

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

import org.eclipse.cdt.debug.core.cdi.model.ICDIObject;
import org.eclipse.cdt.debug.core.cdi.model.ICDITracepoint;

/**
 * Represents a trace snapshot in the debug session.
 * 
 * @since May 15, 2003
 */
public interface ICDITraceSnapshot extends ICDISessionObject {

	/**
	 * Returns the number of this snapshot.
	 * 
	 * @return the number of this snapshot
	 */
	int getNumber();

	/**
	 * Selects this snapshot.
	 * 
	 * @throws CDIException on failure. Reasons include:
	 */
	void select() throws CDIException;

	/**
	 * Returns the data collected at this snapshot.
	 * 
	 * @return the data collected at this snapshot
	 * @throws CDIException on failure. Reasons include:
	 */
	ICDIObject[] getData() throws CDIException;

	/**
	 * Returns the array of tracepoints associated with this snapshot.
	 * 
	 * @return array of tracepoints
	 */
	ICDITracepoint[] getTracepoints();
}

Back to the top