diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICRuntimeOptions.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICRuntimeOptions.java new file mode 100644 index 00000000000..e7a964e615d --- /dev/null +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICRuntimeOptions.java @@ -0,0 +1,38 @@ +/* + *(c) Copyright QNX Software Systems Ltd. 2002. + * All Rights Reserved. + * + */ + +package org.eclipse.cdt.debug.core.cdi; + +import java.util.Properties; + +/** + * Describes the configuration of debug session. + * + * @since Aug 6, 2002 + */ +public interface ICRuntimeOptions { + + /** + * Program/Inferior arguments. + * + * @param args the string representing the arguments. + */ + void setArguments(String args); + + /** + * Program/Inferior environment settings. + * + * @param props the new environment variable to add. + */ + void setEnvironment(Properties props); + + /** + * Program/Inferior working directory. + * + * @param wd the working directory to start the program. + */ + void setWorkingDirectory(String wd); +} diff --git a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICSession.java b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICSession.java index 2ffb635369a..00e062be435 100644 --- a/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICSession.java +++ b/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/core/cdi/ICSession.java @@ -89,6 +89,13 @@ public interface ICSession */ ICDebugConfiguration getConfiguration(); + /** + * Returns the Runtime options for this debug session. + * + * @return the configuration description + */ + ICRuntimeOptions getRuntimeOptions(); + /** * Returns whether this element is terminated. *