core/com.nokia.carbide.cpp.doc.user/html/hints_tips.htm
branchRCL_2_4
changeset 599 b37517268da7
parent 132 33c6fe7054ce
child 784 a4131d1d5bfa
equal deleted inserted replaced
598:828d80176ecb 599:b37517268da7
    24 </blockquote>
    24 </blockquote>
    25  <h5 class="note">How can I search for files outside of the workspace? </h5>
    25  <h5 class="note">How can I search for files outside of the workspace? </h5>
    26 <blockquote>
    26 <blockquote>
    27    <p>Use the <a href="reference/search/wnd_system_search.htm">System Search</a> feature in Carbide. Click <b>Search &gt; System...</b>, enter the search data, press Search. </p>
    27    <p>Use the <a href="reference/search/wnd_system_search.htm">System Search</a> feature in Carbide. Click <b>Search &gt; System...</b>, enter the search data, press Search. </p>
    28 </blockquote>
    28 </blockquote>
    29  <h5 class="note">How can I quickly open a .h file associated from the source file I am currently editing ? </h5>
    29  <h5 class="note">How can I quickly open a .h file associated from the source file I am currently editing? </h5>
    30  <blockquote>
    30  <blockquote>
    31    <p>The CDT editor supports quick opening of associated .h files. To view the .h file, select the name of the .h file in the source you are currently editing and press F3 (Open Declaration). A new editor view will appear and display the .h file. </p>
    31    <p>The CDT editor supports quick opening of associated .h files. To view the .h file, select the name of the .h file in the source you are currently editing and press F3 (Open Declaration). A new editor view will appear and display the .h file. </p>
    32 </blockquote>
    32 </blockquote>
    33  <h5 class="note">I can't locate the eclipse.ini file to modify the behavior of Carbide.c++, where can I find it? </h5>
    33  <h5 class="note">I can't locate the eclipse.ini file to modify the behavior of Carbide.c++, where can I find it? </h5>
    34  <blockquote>
    34  <blockquote>
    35   <p>The <span class="code">eclipse.ini</span> file was renamed the <span class="code">carbide.c++.1.x.ini</span> file to keep the <span class="code">.exe</span> and <span class="code">.ini</span> files in sync. </p>
    35   <p>The <span class="code">eclipse.ini</span> file was renamed the <span class="code">carbide.c++.2.x.ini</span> file to keep the <span class="code">.exe</span> and <span class="code">.ini</span> files in sync. </p>
    36 </blockquote>
    36 </blockquote>
    37  <h5 class="note"><a name="VMissues"></a>I can't launch Carbide.c++ due to &quot;Error occurred in initialization of VM, could not reserve enough space for object heap? </h5>
    37  <h5 class="note"><a name="VMissues"></a>I can't launch Carbide.c++ due to &quot;Error occurred in initialization of VM, could not reserve enough space for object heap? </h5>
    38  <blockquote>
    38  <blockquote>
    39    <p>By default, the heap space set aside for Carbide is 1024MB. You can see this setting in the <span class="code">carbide.c++.1.x.ini</span> file as the line &quot;<span class="code">-Xmx1024m</span>&quot;. Some system may have limited VM space available so we suggest you try lowering the default amount to  &quot;<span class="code">-Xmx512m</span>&quot; and  relaunching Carbide. </p>
    39    <p>By default, the heap space set aside for Carbide is 1024MB. You can see this setting in the <span class="code">carbide.c++.1.x.ini</span> file as the line &quot;<span class="code">-Xmx1024m</span>&quot;. Some system may have limited VM space available so we suggest you try lowering the default amount to  &quot;<span class="code">-Xmx512m</span>&quot; and  relaunching Carbide. </p>
    40 </blockquote>
    40 </blockquote>
    41  <h5 class="note">I want to use CDT for other C/C++ development in Carbide.c++</h5>
    41 <h5 class="note">When I press F1 in a dialog, the help pane isn't very helpful? </h5>
    42  <blockquote>
       
    43   <p>Carbide.c++ hides some CDT UI elements using capabilities.  We do this to avoid confusion as there are several things labeled C/C++ that don't really apply to Symbian development.  To show these items, you need to add the Eclipse SDK to your Carbide.c++ installation (download link:<span class="code"> www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops/R-3.2.1-200609210945/eclipse-SDK-3.2.1-win32.zip</span>), and then enable it from the preferences (<b>Window > Preferences > General > Capabilities > Nokia Debug</b>).</p>
       
    44 </blockquote>
       
    45  <h5 class="note">When I press F1 in a dialog, the help pane isn't very helpful? </h5>
       
    46  <blockquote>
    42  <blockquote>
    47    <p>If the Help pane does not display   information specific to the page content, it may be because the page in the dialog doesn't have focus. This often occurs in a wizard page when nothing has been selected on the page. The help system has not  been told which  help content to display in the About section of the help pane. </p>
    43    <p>If the Help pane does not display   information specific to the page content, it may be because the page in the dialog doesn't have focus. This often occurs in a wizard page when nothing has been selected on the page. The help system has not  been told which  help content to display in the About section of the help pane. </p>
    48    <p class="note"><b>NOTE</b> The Dynamic help section usually displays the proper helpful links, just not as specific as the About section should display. </p>
    44    <p class="note"><b>NOTE</b> The Dynamic help section usually displays the proper helpful links, just not as specific as the About section should display. </p>
    49    <p>To get the proper content to appear, close the help pane, go to the previous page in the wizard by clicking Previous. Now, click Next to advance, select a field in the page to set the focus, then press F1. The correct help content links should now appear. </p>
    45    <p>To get the proper content to appear, close the help pane, go to the previous page in the wizard by clicking Previous. Now, click Next to advance, select a field in the page to set the focus, then press F1. The correct help content links should now appear. </p>
    50 </blockquote>
    46 </blockquote>
    87  <blockquote>
    83  <blockquote>
    88    <p>If the file you are trying to debug is outside the project then you should import the binary into the project you are currently trying to debug. </p>
    84    <p>If the file you are trying to debug is outside the project then you should import the binary into the project you are currently trying to debug. </p>
    89  </blockquote>
    85  </blockquote>
    90  <h5>New debug launch configuration fields not filled in correctly upon creation </h5>
    86  <h5>New debug launch configuration fields not filled in correctly upon creation </h5>
    91  <blockquote>
    87  <blockquote>
    92    <p>See &quot;Debug icon not visible on executable in C/C++ Projects view&quot; to correct this issue. Once completed, try to create a debug launch configuration again. Click the New button in the Configuration window to create a new configuration with the correct project information. </p>
    88    <p>See &quot;Debug icon not visible on executable in Project Explorer view&quot; to correct this issue. Once completed, try to create a debug launch configuration again. Click the New button in the Configuration window to create a new configuration with the correct project information. </p>
    93 </blockquote>
    89 </blockquote>
    94  <h5>Debug icon not visible on executable in C/C++ Projects view </h5>
    90  <h5>Debug icon not visible on executable in Project Explorer view </h5>
    95  <blockquote>
    91 <blockquote>
    96    <p>This is commonly caused when the binary parser is not set correctly in the project. To correct, open the project properties window (right-click project name in C/C++ Projects view and select Properties), expand the C/C++ Build section and click the Binary Parser tab in the C/C++ Build page. Now look for the PE Windows Parser option. If it's not checkmarked, checkmark it and click Apply. If it is already set then uncheck it and click Apply, then reapply a checkmark and click Apply. The debug icon should now appear.</p>
    92    <p>This is commonly caused when the binary parser is not set correctly in the project. To correct, open the project properties window (right-click project name in Project Explorer view and select Properties), expand the C/C++ Build section and click the Binary Parser tab in the C/C++ Build page. Now look for the PE Windows Parser option. If it's not checkmarked, checkmark it and click Apply. If it is already set then uncheck it and click Apply, then reapply a checkmark and click Apply. The debug icon should now appear.</p>
    97  </blockquote>
    93 </blockquote>
    98 <h3><a name="connectivity" id="connectivity"></a>Connectivity</h3>
    94 <h3><a name="connectivity" id="connectivity"></a>Connectivity</h3>
    99  <h5>Unable to connect to device using Bluetooth and debug it using TRK </h5>
    95  <h5>Unable to connect to device using Bluetooth and debug it using TRK </h5>
   100 <blockquote>
    96 <blockquote>
   101   <p>When using Bluetooth to connect to a device there are several things that require correction, including:</p>
    97   <p>When using Bluetooth to connect to a device there are several things that require correction, including:</p>
   102   <ul>
    98   <ul>