blob: d387c67468909392bcac60517e6e0c54b7c31ff3 [file] [log] [blame]
<!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.&nbsp; </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.&nbsp; A launch
configuration keeps a set of named attributes that can be used to store data
specific for a particular kind of launcher.&nbsp; Users interact with a launch
configuration dialog to set up the parameters for different types of
launches.&nbsp; These configurations can be
stored in a file to be shared with other users or stored locally in the workspace.&nbsp;&nbsp; </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.&nbsp; 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.&nbsp; This object can be
queried for information such as running processes, debug session information,
and source code location.&nbsp; A launch knows the configuration that was used to create
it.&nbsp; </p>
<p><img alt="" border="0" src="images/launch.jpg" width="495" height="191"> </p>
<p>&nbsp; </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>