blob: 6d22b916c72a4327393578157b9e06f6040074a2 (
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
|
/*******************************************************************************
* Copyright (c) 2000, 2005 IBM Corporation 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:
* 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;
}
|