Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 424ce84c056578a2976d4bcc56ca658a0932e6a5 (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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
/*******************************************************************************
 * 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
 *     Freescale Semiconductor - Address watchpoints, https://bugs.eclipse.org/bugs/show_bug.cgi?id=118299
 *******************************************************************************/

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

import java.math.BigInteger;

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 extends ICDIBreakpointManagement {

	/**
	 * 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 a watchpoint.
	 * 
	 * @param type
	 * @param watchType
	 * @param expression
	 * @param memorySpace set to "" for default memorySpace
	 * @param range set to "" for default range
	 * @param condition
	 * @return
	 * @throws CDIException
	 */
	ICDIWatchpoint setWatchpoint(int type, int watchType, String expression, String memorySpace, BigInteger range, 
		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