org.eclipse.cdt.debug.core.model
Interface IJumpToLine

All Known Subinterfaces:
ICStackFrame
All Known Implementing Classes:
CStackFrame

public interface IJumpToLine

Provides the ability to resume a debug target at the given line.


Method Summary
 boolean canJumpToLine(org.eclipse.core.resources.IFile file, int lineNumber)
          Returns whether this operation is currently available for this file and line number.
 boolean canJumpToLine(java.lang.String fileName, int lineNumber)
          Returns whether this operation is currently available for this file and line number.
 void jumpToLine(org.eclipse.core.resources.IFile file, int lineNumber)
          Causes this element to resume the execution at the specified line.
 void jumpToLine(java.lang.String fileName, int lineNumber)
          Causes this element to resume the execution at the specified line.
 

Method Detail

canJumpToLine

boolean canJumpToLine(org.eclipse.core.resources.IFile file,
                      int lineNumber)
Returns whether this operation is currently available for this file and line number.

Returns:
whether this operation is currently available

jumpToLine

void jumpToLine(org.eclipse.core.resources.IFile file,
                int lineNumber)
                throws org.eclipse.debug.core.DebugException
Causes this element to resume the execution at the specified line.

Throws:
org.eclipse.debug.core.DebugException - on failure. Reasons include:

canJumpToLine

boolean canJumpToLine(java.lang.String fileName,
                      int lineNumber)
Returns whether this operation is currently available for this file and line number.

Returns:
whether this operation is currently available

jumpToLine

void jumpToLine(java.lang.String fileName,
                int lineNumber)
                throws org.eclipse.debug.core.DebugException
Causes this element to resume the execution at the specified line.

Throws:
org.eclipse.debug.core.DebugException - on failure. Reasons include: