Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: c55f1c3cd4112abe1b36a596076b35ea02b645fa (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
/*******************************************************************************
 * Copyright (c) 2009, 2010 Ericsson 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:
 * Ericsson - Initial API and implementation
 *******************************************************************************/
package org.eclipse.cdt.debug.core.model;

import org.eclipse.core.runtime.CoreException;

/**
 * A tracepoint specific to the C/C++ debug model.
 * 
 * @since 7.0
 */
public interface ICTracepoint extends ICLineBreakpoint {
	/**
	 * Tracepoint attribute storing a tracepoint's pass count value (value
	 * <code>"org.eclipse.cdt.debug.core.passCount"</code>). This attribute
	 * is an <code>int</code>.
	 */
	public static final String PASS_COUNT = "org.eclipse.cdt.debug.core.passCount"; //$NON-NLS-1$	

	/**
	 * Returns the pass count used by this tracepoint.
	 * 
	 * @return the pass count used by this breakpoint
	 * @exception CoreException if unable to access the property on this tracepoint's
	 *  underlying marker
	 */
	public int getPassCount() throws CoreException;

	/**
	 * Sets the pass count attribute for this tracepoint.
	 * 
	 * @param passCount the new pass count
	 * @exception CoreException if unable to access the property on this tracepoint's
	 *  underlying marker
	 */
	public void setPassCount(int passCount) throws CoreException;
}

Back to the top