Bug 177262, more docs for Import Executable Wizard.
|
@ -17,6 +17,8 @@
|
||||||
<!ENTITY signalsView "Signals view">
|
<!ENTITY signalsView "Signals view">
|
||||||
<!ENTITY debugPrefs "Debug preferences">
|
<!ENTITY debugPrefs "Debug preferences">
|
||||||
<!ENTITY srcPrefs "Source Code Locations">
|
<!ENTITY srcPrefs "Source Code Locations">
|
||||||
|
<!ENTITY importExe "Import C/C++ Executable Files">
|
||||||
|
<!ENTITY chooseProj "Choose Project">
|
||||||
]>
|
]>
|
||||||
<contexts>
|
<contexts>
|
||||||
|
|
||||||
|
@ -73,4 +75,17 @@
|
||||||
<topic href="reference/cdt_u_dbg_src.htm"
|
<topic href="reference/cdt_u_dbg_src.htm"
|
||||||
label="&srcPrefs;"/>
|
label="&srcPrefs;"/>
|
||||||
</context>
|
</context>
|
||||||
|
|
||||||
|
<context id ="IMPORT_EXECUTABLE_PAGE_ONE">
|
||||||
|
<description>Select or search for C/C++ executable files.</description>
|
||||||
|
<topic href="tasks/cdt_t_debug_exes.htm"
|
||||||
|
label="&importExe;"/>
|
||||||
|
</context>
|
||||||
|
|
||||||
|
<context id ="IMPORT_EXECUTABLE_PAGE_TWO">
|
||||||
|
<description>Choose or create a project to hold the executable.</description>
|
||||||
|
<topic href="tasks/cdt_t_debug_exes.htm"
|
||||||
|
label="&chooseProj;"/>
|
||||||
|
</context>
|
||||||
|
|
||||||
</contexts>
|
</contexts>
|
||||||
|
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 32 KiB |
|
@ -6,6 +6,9 @@
|
||||||
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
|
<meta name="LASTUPDATED" content="06/17/05 11:09:43" />
|
||||||
<title>Debugging Existing Executables</title>
|
<title>Debugging Existing Executables</title>
|
||||||
<link rel="stylesheet" type="text/css" href="../help.css"/>
|
<link rel="stylesheet" type="text/css" href="../help.css"/>
|
||||||
|
<style>
|
||||||
|
ul, li { padding: 3px 0px}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
@ -15,29 +18,41 @@
|
||||||
|
|
||||||
<h4>Importing Executables for Debugging </h4>
|
<h4>Importing Executables for Debugging </h4>
|
||||||
<ol>
|
<ol>
|
||||||
<li>Select the File > Import... menu item
|
<li>Select the <b>File > Import...</b> menu item.
|
||||||
to open the Import wizard dialog:
|
<li>In the <b>Import</b> wizard dialog, click <b>C/C++</b> and select <b>C/C++ Executable</b>.<br>
|
||||||
<p align="center"><img src="../images/cdt_debug_exes01.png" width="476" height="430" hspace="12" vspace="12" /></p>
|
<p><img src="../images/cdt_debug_exes01.png" vspace="12" /></p></li>
|
||||||
|
<li>Click <b>Next</b>.</li>
|
||||||
|
<li>In the <b>Import C/C++ Executable Files</b> page of the <b>Import Executable</b> dialog:<br>
|
||||||
|
<ul>
|
||||||
|
<li>Choose a parser from the <b>Select binary parser</b> list.</li>
|
||||||
|
<li>Type the executable path in the <b>Select executable</b> box or click <b>Browse</b> to locate the executable.</li>
|
||||||
|
<li>Type or click <b>Browse</b> to enter a directory path in the <b>Search directory</b> box, then select one or more executables from the <b>C/C++ Executable Files</b> list.</li>
|
||||||
|
</ul>
|
||||||
|
<p><img src="../images/cdt_debug_exes02.png" vspace="12" />
|
||||||
|
<p><b>NOTE</b> You can import any executable, but only those built with debug symbols will be let you step through source code and see variable values. </p>
|
||||||
</li>
|
</li>
|
||||||
<li>Select C/C++ Executable, then click Next to open the Import Executable wizard.</li>
|
<li>Click <b>Next</b>.</li>
|
||||||
<li>Enter the executable path in the Select Executable field or click Browse to locate the executable.</li>
|
<li>In the <b>Choose Project</b> page of the <b>Import Executable</b> dialog:<br>
|
||||||
<p>Use Select Executable to choose a single executable or Search Directory to select one or more executables to import from the specified directory.</p>
|
<ul>
|
||||||
<p align="center"><img src="../images/cdt_debug_exes02.png" width="518" height="434" hspace="12" vspace="12" /></p>
|
<li>To import as a new project, activate <b>New project name</b> and type the project name.
|
||||||
<p class="figure"><b>NOTE</b> You can import any executable, but only those built with debug symbols will be let you step through source code and see variable values. </p>
|
<li>To import into an existing project, activate <b>Existing project</b> and click <b>Search</b>.</li>
|
||||||
<li>Click Next to see the Choose Project page</li>
|
<li>To add a launch configuration, activate <b>Create a Launch Configuration</b> and select the configuration from the list, then type a name into the <b>Name</b> box.</li>
|
||||||
<p>Use the Choose Project page to create a new project (you can use the default name assigned) and debug configuration. You can import executables into a new project or an existing one. The new project is configured to hold the executable, but not to build anything. </p>
|
</ul>
|
||||||
<p align="center"><img src="../images/cdt_debug_exes03.png" width="518" height="434" hspace="12" vspace="12" /></p>
|
<p><img src="../images/cdt_debug_exes03.png" vspace="12" />
|
||||||
<p class="figure">Select from the menu of launch configuration types to select one for debugging. This launch configuration will be created for you with default settings for debugging your executable. </p>
|
</li>
|
||||||
<li>Click Finish</li>
|
<li>Click <b>Finish</b>.<br>
|
||||||
<p>The executable is added to the C/C++ Projects view and the Launch configuration window appears..</p>
|
<p>The executable is added to the <b>C/C++ Projects</b> view.</p></li>
|
||||||
<p align="center"><img src="../images/cdt_debug_exes04.png" width="814" height="450" hspace="12" vspace="12" /></p>
|
<li>If <b>Create a Launch Configuration</b> was activated, the <b>Debug</b> dialog appears.<br>
|
||||||
<li>Click Debug</li>
|
<p><img src="../images/cdt_debug_exes04.png" vspace="12" /></p>
|
||||||
<p>The debugger launches and you can begin debugging the executable. </p>
|
</li>
|
||||||
<li>Setting breakpoints </li>
|
<li>Click <b>Debug</b>.<br>
|
||||||
<p>Expand the executable in the C++ Projects view to see the list of source files. Only executables built with debug symbols will show a list of source files. The source files can be opened in the editor so you can set breakpoints. Use these files only for debugging, you can not change them and rebuild the executable with this project. </p>
|
<p>The debugger launches and you can begin debugging the executable.</p></li>
|
||||||
<p><img src="../images/cdt_debug_exes05.png" alt="C++ Projects View" width="210" height="275" hspace="12" vspace="12" /></p>
|
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
|
<h3>Setting breakpoints </h3>
|
||||||
|
<p>Expand the executable in the <b>C++ Projects</b> view to see the list of source files. Only executables built with debug symbols will show a list of source files. The source files can be opened in the editor so you can set breakpoints. Use these files only for debugging, you can not change them and rebuild the executable with this project. </p>
|
||||||
|
<p><img src="../images/cdt_debug_exes05.png" alt="C++ Projects View" vspace="12" /></p>
|
||||||
|
|
||||||
<p><img border="0" src="../images/ngconcepts.gif" alt="Related concepts" width="143" height="21" /> <br />
|
<p><img border="0" src="../images/ngconcepts.gif" alt="Related concepts" width="143" height="21" /> <br />
|
||||||
<a href="../concepts/cdt_c_over_dbg.htm">Debug overview</a><br />
|
<a href="../concepts/cdt_c_over_dbg.htm">Debug overview</a><br />
|
||||||
<a href="../concepts/cdt_c_dbg_info.htm">Debug information</a></p>
|
<a href="../concepts/cdt_c_dbg_info.htm">Debug information</a></p>
|
||||||
|
@ -45,7 +60,7 @@
|
||||||
<a href="cdt_o_debug.htm">Debugging</a></p>
|
<a href="cdt_o_debug.htm">Debugging</a></p>
|
||||||
<p><img border="0" src="../images/ngref.gif" alt="Related reference" width="143" height="21" /> <br />
|
<p><img border="0" src="../images/ngref.gif" alt="Related reference" width="143" height="21" /> <br />
|
||||||
<a href="../reference/cdt_o_run_dbg_pages.htm">Run and Debug dialog box</a></p>
|
<a href="../reference/cdt_o_run_dbg_pages.htm">Run and Debug dialog box</a></p>
|
||||||
<h5> </h5>
|
<hr>
|
||||||
<div id="footer">Copyright Nokia Corporation and others 2006. </div>
|
<img src="../images/NokiaCopyrightStatement06.png" alt="Nokia Copyright Statement" />
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|