1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-21 21:52:10 +02:00

Help method getCurrentTarget()

This commit is contained in:
Alain Magloire 2002-08-20 04:13:52 +00:00
parent e1c0a5fdee
commit 1e4c69fd2c

View file

@ -13,8 +13,7 @@ import org.eclipse.cdt.debug.core.cdi.model.ICDITarget;
* *
* @since Jun 28, 2002 * @since Jun 28, 2002
*/ */
public interface ICDISession public interface ICDISession {
{
/** /**
* Returns all the debug targets associatd with this sesion, * Returns all the debug targets associatd with this sesion,
* or an empty collection if no debug targets are associated * or an empty collection if no debug targets are associated
@ -24,13 +23,21 @@ public interface ICDISession
*/ */
ICDITarget[] getTargets(); ICDITarget[] getTargets();
/**
* Returns the current debug target associatd with this sesion,
* or null if no debug targets are associated with this session.
*
* @return ICDITarget the current debug target
*/
ICDITarget getCurrentTarget();
/** /**
* Sets the value of a debug session attribute. * Sets the value of a debug session attribute.
* *
* @param key the attribute key * @param key the attribute key
* @param value the attribute value * @param value the attribute value
*/ */
void setAttribute( String key, String value ); void setAttribute(String key, String value);
/** /**
* Returns the value of a debug session attribute. * Returns the value of a debug session attribute.
@ -38,7 +45,7 @@ public interface ICDISession
* @param key the attribute key * @param key the attribute key
* @return value the attribute value, or <code>null</code> if undefined * @return value the attribute value, or <code>null</code> if undefined
*/ */
String getAttribute( String key ); String getAttribute(String key);
/** /**
* Returns the breakpoint manager of this debug session. * Returns the breakpoint manager of this debug session.
@ -59,7 +66,7 @@ public interface ICDISession
* *
* @return the expression manager * @return the expression manager
*/ */
ICDIVariableManager getVariableManager(); ICDIExpressionManager getExpressionManager();
/** /**
* Returns the memory manager of this debug session. * Returns the memory manager of this debug session.