Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: e12e252f566c0f3d30ebd2e072c4d8850675da57 (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/*******************************************************************************
 * Copyright (c) 2007 Nokia 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:
 *     Nokia - Initial API and implementation
 *******************************************************************************/

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

import org.eclipse.cdt.debug.core.cdi.CDIException;
import org.eclipse.cdt.debug.core.cdi.ICDIAddressLocation;
import org.eclipse.cdt.debug.core.cdi.ICDICondition;
import org.eclipse.cdt.debug.core.cdi.ICDIFunctionLocation;
import org.eclipse.cdt.debug.core.cdi.ICDILineLocation;

public interface ICDIBreakpointManagement2 {

	/**
	 * Set a line breakpoint.
	 * 
	 * @param type
	 * @param location
	 * @param condition
	 * @param deferred
	 * @param enabled
	 * @return
	 * @throws CDIException
	 */
	ICDILineBreakpoint setLineBreakpoint(int type, ICDILineLocation location,
			ICDICondition condition, boolean deferred, boolean enabled) throws CDIException;		
	
	/**
	 * Set a function breakpoint.
	 * 
	 * @param type
	 * @param location
	 * @param condition
	 * @param deferred
	 * @param enabled
	 * @return
	 * @throws CDIException
	 */
	ICDIFunctionBreakpoint setFunctionBreakpoint(int type, ICDIFunctionLocation location,
			ICDICondition condition, boolean deferred, boolean enabled) throws CDIException;
	
	/**
	 * Set an address Breakpoint
	 * 
	 * @param type
	 * @param location
	 * @param condition
	 * @param deferred
	 * @param enabled
	 * @return
	 * @throws CDIException
	 */
	ICDIAddressBreakpoint setAddressBreakpoint(int type, ICDIAddressLocation location,
		ICDICondition condition, boolean deferred, boolean enabled) throws CDIException;		

	/**
	 * Set a watchpoint.
	 * 
	 * @param type
	 * @param watchType
	 * @param expression
	 * @param condition
	 * @param enabled
	 * @return
	 * @throws CDIException
	 */
	ICDIWatchpoint setWatchpoint(int type, int watchType, String expression,
		ICDICondition condition, boolean enabled) throws CDIException;

	/**
	 * Set an exception point.
	 * 
	 * @param clazz
	 * @param stopOnThrow
	 * @param stopOnCatch
	 * @param enabled
	 * @return
	 * @throws CDIException
	 */
	ICDIExceptionpoint setExceptionBreakpoint(String clazz, boolean stopOnThrow,
			boolean stopOnCatch, boolean enabled) throws CDIException;
	
}

Back to the top