1
/*******************************************************************************
2
* Copyright (c) 2004, 2006 QNX Software Systems and others.
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.eclipse.org/legal/epl-v10.html
9
* QNX Software Systems - Initial API and implementation
10
*******************************************************************************/
11
package org.eclipse.cdt.debug.core.model;
13
import org.eclipse.core.resources.IFile;
14
import org.eclipse.debug.core.DebugException;
17
* Provides the ability to run a debug target to the given line.
19
public interface IRunToLine {
22
* Returns whether this operation is currently available for this file and line number.
24
* @return whether this operation is currently available
26
public boolean canRunToLine( IFile file, int lineNumber );
29
* Causes this element to run to specified location.
31
* @exception DebugException on failure. Reasons include:
33
public void runToLine( IFile file, int lineNumber, boolean skipBreakpoints ) throws DebugException;
36
* Returns whether this operation is currently available for this file and line number.
38
* @return whether this operation is currently available
40
public boolean canRunToLine( String fileName, int lineNumber );
43
* Causes this element to run to specified location.
45
* @exception DebugException on failure. Reasons include:
47
public void runToLine( String fileName, int lineNumber, boolean skipBreakpoints ) throws DebugException;