Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: ca83d5cd2cd0e7e2cd925e7c9f9ced1b42517d7d (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
/*******************************************************************************
 * Copyright (c) 2000, 2005 IBM Corporation and others.
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.debug.core.model;


import org.eclipse.core.runtime.CoreException;

/**
 * A breakpoint that can be located at a specific line of source code.
 */
public interface ILineBreakpoint extends IBreakpoint {

/**
 * Returns the line number in the original source that corresponds
 * to the location of this breakpoint, or -1 if the attribute is not
 * present.
 *
 * @return this breakpoint's line number, or -1 if unknown
 * @exception CoreException if a <code>CoreException</code> is thrown
 * 	while accessing the underlying <code>IMarker.LINE_NUMBER</code> marker attribute
 */
int getLineNumber() throws CoreException;
/**
 * Returns starting source index in the original source that corresponds
 * to the location of this breakpoint, or -1 if the attribute is not present.
 *
 * @return this breakpoint's char start value, or -1 if unknown
 * @exception CoreException if a <code>CoreException</code> is thrown
 * 	while accessing the underlying <code>IMarker.CHAR_START</code> marker attribute
 */
int getCharStart() throws CoreException;
/**
 * Returns ending source index in the original source that corresponds
 * to the location of this breakpoint, or -1 if the attribute is not present.
 *
 * @return this breakpoint's char end value, or -1 if unknown
 * @exception CoreException if a <code>CoreException</code> is thrown
 * 	while accessing the underlying <code>IMarker.CHAR_END</code> marker attribute
 */
int getCharEnd() throws CoreException;
}

Back to the top