| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML> |
| <HEAD> |
| <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"> |
| <META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"> |
| |
| <LINK REL="STYLESHEET" HREF="../book.css" CHARSET="ISO-8859-1" TYPE="text/css"> |
| <TITLE>Launching a program</TITLE> |
| |
| <link rel="stylesheet" type="text/css" HREF="../book.css"> |
| </HEAD> |
| <BODY BGCOLOR="#ffffff"> |
| <h2>Launching a program</h2> |
| <p>The platform debug plug-ins allow you to extend the platform so that your |
| program can be launched properly, obtaining input from the user if |
| necessary. </p> |
| <p>The class <a href="../reference/api/org/eclipse/debug/core/ILaunchConfiguration.html"><b>ILaunchConfiguration</b></a> |
| is used to describe how a program should be launched. A launch |
| configuration keeps a set of named attributes that can be used to store data |
| specific for a particular kind of launcher. Users interact with a launch |
| configuration dialog to set up the parameters for different types of |
| launches. These configurations can be |
| stored in a file to be shared with other users or stored locally in the workspace. </p> |
| <p>Plug-ins can contribute additional types of launchers and provide an <a href="../reference/api/org/eclipse/debug/core/model/ILaunchConfigurationDelegate.html"><b>ILaunchConfigurationDelegate</b></a> |
| that knows how to launch a program given the expected type of launch configuration. Once the program |
| is launched, an <a href="../reference/api/org/eclipse/debug/core/ILaunch.html"><b>ILaunch |
| </b> |
| </a>object is used to represent the launched session. This object can be |
| queried for information such as running processes, debug session information, |
| and source code location. A launch knows the configuration that was used to create |
| it. </p> |
| <p><img alt="" border="0" src="images/launch.jpg" width="495" height="191"> </p> |
| <p> </p> |
| <p><a href="../hglegal.htm"><img border="0" src="../ngibmcpy.gif" alt="Copyright IBM Corporation and others 2000, 2003." border="0" width="324" height="14"></a></p> |
| </BODY> |
| </HTML> |