core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/work_debug_act_run.htm
author Deepak Modgil <Deepak.Modgil@Nokia.com>
Fri, 03 Apr 2009 23:33:03 +0100
changeset 0 fb279309251b
permissions -rw-r--r--
DP tools release version Revision: 200912

<!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" />
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
<title>Running a Program</title>
<link rel="StyleSheet" href="../../../book.css" type="text/css"/>
</head>
<body bgcolor="#FFFFFF">
<h2>Running a Program</h2>
<p>Use the <b>Run</b> command (<img src="../../images/icons/btn_run.png" width="16" height="16" align="absmiddle" />) to execute a program normally, without debugger control. If the target is an emulator, the emulator is launched and the program installed. Use the emulator controls to run the program within the emulator environment. If the target is not an emulator, the program is installed and can be run on the device like any other program.</p>
<p>When starting the program for the first time, there are two types of  launch configurations that you can choose between: </p>
<ul>
  <li><b>Run As &gt; Symbian OS Application</b> <em>&#8212; </em> select this option to create a new run <a href="../../projects/launch/launch_configs_overview.htm">launch configuration</a> for the project or run the the first launch configuration it finds in the run launch configuration list (starting at the top of the list). Basically, this is a shortcut to help you start debugging immediately.</li>
  <li><b>Open Run Dialog... </b><em>&#8212; </em>enables you to define one or more <a href="../projects/prj_debug_config.htm">launch configurations</a> for this project.</li>
</ul>
<div class="step">
  <h4>Running a Program </h4>
  <ul>
    <li>Click the Run  (<img src="../../images/icons/btn_run.png" width="16" height="16" align="absmiddle" />) control in the tool bar </li>
  </ul>
  <blockquote>
    <p>or</p>
  </blockquote>
  <ul>
    <li>Right-click the project's EXE file in the C/C++ Projects view and select Run As &gt; <em>Project_Name</em> from the C/C++ Projects context menu</li>
  </ul>
  <ul>
    <p>The debugger does not control program execution as the program runs.</p>
  </ul>
</div>
  <p>For more information on debugging, see <b>C/C++ Development User Guide &gt; Tasks &gt; Running and debugging projects &gt; Debugging</b>.</p>
  <h5>Related references</h5>
  <ul>
    <li><a href="../../concepts/working_with_debugger.htm">Working with the Debugger </a></li>
    <li><a href="../../reference/view_debug.htm">Debug View</a></li>
  </ul>
  <div id="footer">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. <br>License: <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a></div>

</body>
</html>