23 |
23 |
24 <p>Once you have your Carbide environment updated to include the CDK, you can create new Eclipse plug-in projects and debug the Carbide.c++ sources. How to create eclipse plug-ins is beyond the scope of this demonstration. If you want to debug any of the Carbide.c++ or Ecilpse platform source follow these steps to verify your CDK isntallation: </p> |
24 <p>Once you have your Carbide environment updated to include the CDK, you can create new Eclipse plug-in projects and debug the Carbide.c++ sources. How to create eclipse plug-ins is beyond the scope of this demonstration. If you want to debug any of the Carbide.c++ or Ecilpse platform source follow these steps to verify your CDK isntallation: </p> |
25 <ol> |
25 <ol> |
26 <li>Switch to the <strong>Plug-in Development</strong> perspective. </li> |
26 <li>Switch to the <strong>Plug-in Development</strong> perspective. </li> |
27 <li>Select the <strong>Plug-ins</strong> view. </li> |
27 <li>Select the <strong>Plug-ins</strong> view. </li> |
28 <li>Select the binary plug-in you want view the source of. Don't select the *source feature.</li> |
28 <li>Right-click on the plug-in you want to import and select <strong>Import As > Binary Project with Linked Content</strong>. For example, the <span class="style1">com.nokia.carbide.cpp.leavescan</span> plug-in as shown below.<br> |
29 <li>Right-click on the plug-in you want to import and select <strong>Import As > Binary Project with Linked Content</strong>. For example, the <span class="style1">com.nokia.carbide.cpp.leavescan</span> plug-in as shown below. This enables you to view the sources for the plug-in but not modify them.<br> |
|
30 <br> |
29 <br> |
31 <img src="../img/import_source_project.jpg" width="706" height="459"> </li> |
30 <img src="../img/import_source_project.jpg" width="650" height="428"> </li> |
|
31 <li>Now you can return to the <b>Package Explorer</b> and locate the <span class="code">.source</span> reference in the project. In this example that would be the <span class="style1">com.nokia.carbide.cpp.leavescan.source</span> file.</li> |
|
32 <li>Right-click the<span class="code"> .source</span> file (<span class="style1">com.nokia.carbide.cpp.leavescan.source</span>) and select <b>Import</b>.<br> |
|
33 <br> |
|
34 <img src="../img/import_project_sources.png" width="406" height="198"><br> |
|
35 </li> |
|
36 <li>In the <b>Select</b> page, select <b>General > Archive File</b>, then click <b>Next</b>.<br> |
|
37 <br> |
|
38 <img src="../img/import_general_archive_file.png" width="470" height="244"><br> |
|
39 </li> |
|
40 <li>Navigate to the <span class="style1">com.nokia.carbide.cpp.leavescan.source</span> plug-in file, then click <b>Open</b>. Note that the source plug-ins are located in the same directory where you imported the Carbide Development Kit. By default, this is the <span class="code">/plugins</span> directory of the Carbide installation.</li> |
|
41 <li>In the <b>Archive file</b> page, select click <b>Finish</b>.<br> |
|
42 <br> |
|
43 <img src="../img/import_archive_file_project.png" width="543" height="550"></li> |
32 <li>Now you can return to the <strong>Package Explorer</strong> view and navigate the source files for the imported plug-in. It should look like a normal plug-in project:<br> |
44 <li>Now you can return to the <strong>Package Explorer</strong> view and navigate the source files for the imported plug-in. It should look like a normal plug-in project:<br> |
33 <br> |
45 <br> |
34 <img src="../img/source_plugin.jpg" width="361" height="392"><br> |
46 <img src="../img/source_plugin.jpg" width="406" height="486"><br> |
35 <br> |
47 <br> |
36 You can now <a href="launchconfig.htm">create a launch configuration</a> and debug Carbide. </li> |
48 You can now <a href="launchconfig.htm">create a launch configuration</a> and debug Carbide. </li> |
37 </ol> |
49 </ol> |
38 <div id="footer">Copyright © 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> |
50 <div id="footer">Copyright © 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> |
39 |
51 |
40 </body> |
52 </body> |