# HG changeset patch # User fturovic # Date 1265922523 21600 # Node ID 47d3ca29d0549ce91d9f86deda83512fde1b512e # Parent bbee10bb6733106e0787781df5adf356c67a2a8f revision of concept section of manual pages and images diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/book.css --- a/core/com.nokia.carbide.cpp.doc.user/book.css Wed Feb 10 15:19:41 2010 -0600 +++ b/core/com.nokia.carbide.cpp.doc.user/book.css Thu Feb 11 15:08:43 2010 -0600 @@ -57,7 +57,7 @@ } .listing { - background-color: #ffe869; + background-color: #FFFFCC; font-family: "Courier New", Courier, mono; font-size: 1.1em; color: #000000; @@ -120,7 +120,7 @@ div h5, div h4 { padding:5px 0px 5px 12px; - background-color: #ffd62c; + background-color: #FFCC00; font-weight:bold; color: #000000; } diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/AIFDefWizard.html --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/AIFDefWizard.html Wed Feb 10 15:19:41 2010 -0600 +++ b/core/com.nokia.carbide.cpp.doc.user/html/concepts/AIFDefWizard.html Thu Feb 11 15:08:43 2010 -0600 @@ -1,71 +1,71 @@ - - - -AIF File in Concepts - - - -

AIF File

- -

- The AIF, or application information file, is a Symbian OS-specific file - format. An AIF file contains information about captions, icons, capabilities - and MIME priority support used by the application. The MMP editor provides support for the AIF editor in the Sources > Resources group.

-

- NOTE AIF files are used only for Symbian OS versions before 9.1. -

-

- The kind of information an AIF file can contain are:

- -
Related tasks
- -
Related references
- - - - - + + + +AIF File in Concepts + + + +

AIF File

+ +

+ The AIF, or Application Information File, is a Symbian OS-specific file + format. An AIF file contains information about captions, icons, capabilities + and MIME priority support used by the application. The MMP editor provides support for the AIF editor in the Sources > Resources group.

+

+ NOTE AIF files are used only for Symbian OS versions before 9.1. +

+

+ The kind of information an AIF file can contain are:

+ +
Related tasks
+ +
Related references
+ + + + + \ No newline at end of file diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/CarbidePerspective.html --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/CarbidePerspective.html Wed Feb 10 15:19:41 2010 -0600 +++ b/core/com.nokia.carbide.cpp.doc.user/html/concepts/CarbidePerspective.html Thu Feb 11 15:08:43 2010 -0600 @@ -1,48 +1,48 @@ - -Carbide.c++ perspective - - - -

Carbide.c++ perspective

- - -

- The Carbide C/C++ perspective is a set of tools and layout of views provided for Symbian OS development. This perspective is designed to work with Symbian OS C++ projects. The commonly used views include:

- -

NOTE When launching a program to debug, the Debug perspective appears.

- -

-

Figure 1 - Carbide C/C++ perspective

-

NOTE Click the icon to show additional options that may not be visible in the perspective view.

-

For more information on perspectives see Workbench User Guide > Concepts > Perspectives, and for views see C/C++ Development User Guide > Reference - > C/C++ Views and Editors.

-

- For more details on the Symbian OS Build Configurations, see - Active Configurations.

-
Related references
- - - - - - + +Carbide.c++ perspective + + + +

Carbide.c++ perspective

+ + +

+ The Carbide C/C++ perspective is a set of tools and layout of views provided for Symbian OS development. This perspective is designed to work with Symbian OS C++ projects. The commonly used views include:

+ +

NOTE When launching a program to debug, the Debug perspective appears.

+ +

+

Figure 1 - Carbide C/C++ perspective

+

NOTE Click the icon to show additional options that may not be visible in the perspective view.

+

For more information on perspectives see Workbench User Guide > Concepts > Perspectives, and for views see C/C++ Development User Guide > Reference + > C/C++ Views and Editors.

+

+ For more details on the Symbian OS Build Configurations, see + Active Configurations.

+
Related references
+ + + + + + \ No newline at end of file diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/MBMDefWizard.html --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/MBMDefWizard.html Wed Feb 10 15:19:41 2010 -0600 +++ b/core/com.nokia.carbide.cpp.doc.user/html/concepts/MBMDefWizard.html Thu Feb 11 15:08:43 2010 -0600 @@ -1,67 +1,66 @@ - -MBM File in Concepts - - - -

MBM File

- -

- MBM, or multi-bitmap, is a Symbian OS-specific bitmap file format. This - file contains multiple bitmaps and it can contain both bitmaps with masks and - bitmaps without masks. It optimizes the bitmap handling capability of Symbian - OS. The MMP editor (in Sources tab > Resources > Bitmaps) and Symbian Project Navigator view provide support for creating and editing mbm - files. In the Symbian Project Navigator you can right-click on a scalable icon makefile (for example, Icons_scalable_dc.mk) and select Add MBM/MIF Entry... to open the Edit MBM/MIF Contents window.

-

- The following information is required to add a bitmap without a mask: -

- -

- To add a bitmap with a mask, you will also need to specify: -

- -
Related tasks
- -
Related references
- - - - - - + +MBM File in Concepts + + + +

MBM File

+ +

+ MBM, or multi-bitmap, is a Symbian OS-specific bitmap file format. This + file contains multiple bitmaps and it can contain both bitmaps with masks and + bitmaps without masks. It optimizes the bitmap handling capability of Symbian + OS. The MMP Editor (in Sources tab > Resources > Bitmaps) and Symbian Project Navigator view provide support for creating and editing MBM + files. In the Symbian Project Navigator view you can right-click on a scalable icon makefile (for example, Icons_scalable_dc.mk) and select Add MBM/MIF Entry... to open the Edit MBM/MIF Contents window.

+

+ The following information is required to add a bitmap without a mask: +

+ +

+ To add a bitmap with a mask, you will also need to specify: +

+ +
Related tasks
+ +
Related references
+ + + + + \ No newline at end of file diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/autotargeting.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/autotargeting.htm Wed Feb 10 15:19:41 2010 -0600 +++ b/core/com.nokia.carbide.cpp.doc.user/html/concepts/autotargeting.htm Thu Feb 11 15:08:43 2010 -0600 @@ -9,11 +9,15 @@

Auto-Targeting of Executables

-

In run-mode debugger now supports the auto-targeting of processes that are already running or are created during the execution of the debug session. Previously, the debugger forced users to explicitly attach to a running process. Now, the debugger attempts to target all the EXEs specified in the Executables tab of the launch configuration.

+

In run-mode the Carbide debugger now supports the auto-targeting of processes that are already running or are created during the execution of the debug session. Previously, the debugger forced users to explicitly attach to a running process. Now, the debugger attempts to target all the EXEs specified in the Executables tab of the launch configuration.

+
Other References
+ diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/build_configurations.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/build_configurations.htm Wed Feb 10 15:19:41 2010 -0600 +++ b/core/com.nokia.carbide.cpp.doc.user/html/concepts/build_configurations.htm Thu Feb 11 15:08:43 2010 -0600 @@ -1,56 +1,56 @@ - - - - - - -Active Build Configuration - - - -

Active Build Configuration

-

Use the Active Configuration option in the Carbide Build Configurations panel to specify the build target. Since a project can contain one or more build targets, the active configuration defines which build configuration to use when the project is run or debugged. A launch configuration consists of the following:

- -

Build configurations are defined when the project is created. A project can have any number of build configurations and more can be added as necessary. Each build configuration can have its own combination of tool settings to precisely control how it is defined and built. Build configurations are maintained in the project Properties window in the Carbide Build Configurations panel. To open the panel, select a project in the Symbian Project Navigator or Project Explorer view and select Project > Properties or right-click and select Properties.

-

-

You can select a build configuration in the Active Configuration dropdown list or use the Project > Active Configuration menu option to set which build configuration to launch when running or debugging a program. The currently selected project can be launched by clicking the Run () or Debug () control on the tool bar to launch the project with the currently active build configuration. When no project is selected the last project debugged will be launched.

-

If no launch configuration is present in the project, one is created on initial launch. Subsequent launches of the project will use either the last launch configuration or if more than one launch configuration exists, it uses the most correct one.

-

NOTE The Carbide Run and Debug buttons are shaded in blue to indicate their behavior differs from the standard Eclipse behavior.

-
Table 1 Carbide Build Configuration items
- - - - - - - - - - - - - -
ItemExplanation
Active Configuration The Active Configuration drop down list allows you to select a configuration that is currently available for the selected project. The entries in the related sub-panes will change according to the selected configuration. The Configuration name consists of a target name and an SDK identifier in brackets.
Manage...Click the Manage... button to add a new SDK/Configuration or remove an existing configuration.
-
Build Configuration Naming
-

When the Carbide.c++ IDE creates an build configuration it uses a standard naming convention to make it easy to identify. For example, HelloCarbide S60 3.0 Emulator Debug is a typical configuration name. The default name follows the form of:

- -

You can use the Debug window to edit the default build configuration names.

-
Other references
- - - - + + + + + + +Active Build Configuration + + + +

Active Build Configuration

+

Use the Active Configuration option in the Carbide Build Configurations panel to specify the build target. Since a project can contain one or more build targets, the active configuration defines which build configuration to use when the project is run or debugged. A launch configuration consists of the following:

+ +

Build configurations are defined when the project is created. A project can have any number of build configurations and more can be added as necessary. Each build configuration can have its own combination of tool settings to precisely control how it is defined and built. Build configurations are maintained in the project Properties window in the Carbide Build Configurations panel. To open the panel, select a project in the Symbian Project Navigator or Project Explorer view and select Project > Properties or right-click and select Properties.

+

+

You can select a build configuration in the Active Configuration dropdown list or use the Project > Active Configuration menu option to set which build configuration to launch when running or debugging a program. The currently selected project can be launched by clicking the Run () or Debug () control on the tool bar to launch the project with the currently active build configuration. When no project is selected the last project debugged will be launched.

+

If no launch configuration is present in the project, one is created on initial launch. Subsequent launches of the project will use either the last launch configuration or if more than one launch configuration exists, it uses the most correct one.

+

NOTE The Carbide Run and Debug buttons are shaded in blue to indicate their behavior differs from the standard Eclipse behavior.

+
Table 1 Carbide Build Configuration items
+ + + + + + + + + + + + + +
ItemExplanation
Active Configuration The Active Configuration drop down list allows you to select a configuration that is currently available for the selected project. The entries in the related sub-panes will change according to the selected configuration. The Configuration name consists of a target name and an SDK identifier in brackets.
Manage...Click the Manage... button to add a new SDK/Configuration or remove an existing configuration.
+
Build Configuration Naming
+

When the Carbide.c++ IDE creates an build configuration it uses a standard naming convention to make it easy to identify. For example, HelloCarbide S60 5.0 Emulator Debug is a typical configuration name. The default name follows the form of:

+ +

You can use the Debug window to edit the default build configuration names.

+
Other references
+ + + + \ No newline at end of file diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/build_targets.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/build_targets.htm Wed Feb 10 15:19:41 2010 -0600 +++ b/core/com.nokia.carbide.cpp.doc.user/html/concepts/build_targets.htm Thu Feb 11 15:08:43 2010 -0600 @@ -1,71 +1,71 @@ - - - - - - -Supported Target Types - - - - -

Supported Target Types

-

Carbide.c++ supports a variety of build targets based upon the SDKs and which version of the Carbide tools used by the project. The table below identifies which build targets are possible for a specific SDK.

-

NOTE Check the SDK Preferences page to see if an SDK you have installed and whether its build configurations are supported.

-
Table 1. Supported target types for all versions of Carbide.c++
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Target Types Platform Security
-(S60 3.1, S60 3.0, UIQ 3.0)
GCCE, ARMV5, ARMV5_ABIV2
WINSCW
- (EKA2)
APP (DLL)
DLL
Yes
Yes
EXE (console)
Yes
Yes
EXE (OS 9.1 GUI)
Yes
Yes
Polymorphic DLL
Yes
Yes
STDLIB
Yes
Yes
-
Related tasks
- - - - + + + + + + +Supported Target Types + + + + +

Supported Target Types

+

Carbide.c++ supports a variety of build targets based upon the SDKs and which version of the Carbide tools used by the project. The table below identifies which build targets are possible for a specific SDK.

+

NOTE Check the SDK Preferences page to see if an SDK you have installed and whether its build configurations are supported.

+
Table 1. Supported target types for all versions of Carbide.c++
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Target Types Platform Security
+(S60 3.2, S60 5.0)
RAPTOR, GCCE, ARMV5, ARMV5_ABIV2
WINSCW
+ (EKA2)
APP (DLL)
DLL
Yes
Yes
EXE (console)
Yes
Yes
EXE (OS 9.1 GUI)
Yes
Yes
Polymorphic DLL
Yes
Yes
STDLIB
Yes
Yes
+
Related tasks
+ + + + \ No newline at end of file diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/carbide_projects.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/carbide_projects.htm Wed Feb 10 15:19:41 2010 -0600 +++ b/core/com.nokia.carbide.cpp.doc.user/html/concepts/carbide_projects.htm Thu Feb 11 15:08:43 2010 -0600 @@ -1,22 +1,22 @@ - - - - - - -Carbide.c++ Projects - - - -

Carbide.c++ Projects

-

Carbide.c++ can import .inf files to create projects. Once imported, those files are forgotten and all changes made to a Carbide.c++ project, like adding files or libraries, are handled by the IDE itself either using the File > New menu item, File > Import, or the Project Properties window.

-

Carbide.c++ can not export changes back to an .inf file.

-
Related tasks
- - - - - + + + + + + +Carbide.c++ Projects + + + +

Carbide.c++ Projects

+

Carbide.c++ can import .INF files to create projects. Once imported, those files are forgotten and all changes made to a Carbide.c++ project, like adding files or libraries, are handled by the IDE itself either using the File > New, File > Import, or the Properties for project window.

+

Carbide.c++ can not export changes back to an .INF file.

+
Related tasks
+ + + + + diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/common_debug_actions.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/common_debug_actions.htm Wed Feb 10 15:19:41 2010 -0600 +++ b/core/com.nokia.carbide.cpp.doc.user/html/concepts/common_debug_actions.htm Thu Feb 11 15:08:43 2010 -0600 @@ -9,7 +9,7 @@

Common Debugging Actions

-

This section explains how to perform common debugging actions within the Debug perspective to correct source-code errors, control program execution, and observe memory behavior:

+

This section explains how to perform common debugging actions within the Debug perspective to correct source-code errors, control program execution, and observe memory behavior:

- + diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/concepts.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/concepts.htm Wed Feb 10 15:19:41 2010 -0600 +++ b/core/com.nokia.carbide.cpp.doc.user/html/concepts/concepts.htm Thu Feb 11 15:08:43 2010 -0600 @@ -17,7 +17,7 @@

The plug-ins simplify Symbian OS development by removing the need to use command line build tools, and provide a graphical interface to Symbian OS specific file formats, such as AIF and MBM.

-

The plug-ins provide a new perspective, called the Carbide.c++ Perspective, on +

The plug-ins provide a new perspective, called the Carbide.c++ Perspective, on the Eclipse workbench. This perspective enhances the standard CDT C/C++ perspective by allowing you to select easily the SDKs and build target types that you want to use for each project.

@@ -41,13 +41,11 @@
  • Precompiled Headers
  • Registers
  • SDK Support
  • -
  • Symbol Hint
  • Symbols, .pkg
  • -
  • Watchpoints
  • Workspace Information
  • - +
    diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/contextual_menus.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/contextual_menus.htm Wed Feb 10 15:19:41 2010 -0600 +++ b/core/com.nokia.carbide.cpp.doc.user/html/concepts/contextual_menus.htm Thu Feb 11 15:08:43 2010 -0600 @@ -9,7 +9,7 @@

    Context Menus

    -

    A context menu provides a shortcut to frequently used menu commands. The available menu commands change, based on the context of the selected item. For example, the Breakpoints view uses commands that differ from the Editor view.

    +

    A context menu provides a shortcut to frequently used menu commands. The available menu commands change, based on the context of the selected item. For example, the Breakpoints view uses commands that differ from the Editor view.

    Sample uses of the context menu for different tasks include:

    TIP Experiment using the context menu in various views to discover additional capabilities.

    Figure 1 shows a sample context menu in the Breakpoints view.

    -

    -

    Figure 1 - Context menu in Breakpoints view

    +

    +

    Figure 1 - Example context menu in Breakpoints view

    Using Context Menus

    Use context menus to apply context-specific commands to selected items.

    @@ -39,7 +39,7 @@ - + diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/cvs.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/cvs.htm Wed Feb 10 15:19:41 2010 -0600 +++ b/core/com.nokia.carbide.cpp.doc.user/html/concepts/cvs.htm Thu Feb 11 15:08:43 2010 -0600 @@ -1,19 +1,19 @@ - - - - - - -Concurrent Versions System (CVS) - - - -

    Concurrent Versions System (CVS)

    -

    Carbide.c++ supports the Concurrent Versions System (CVS) for immediate version control support. Other revision systems are also supported but require the downloading of an Eclipse plug-in to add that feature to Carbide. Visit the eclipse.org or eclipse-plugins.2y.net sites to locate the plug-ins you need.

    -

    For more informaton on using CVS within Carbide, see the Workbench User Guide > Concepts > Team programming with CVS.

    -
    - - -
    - - + + + + + + +Concurrent Versions System (CVS) + + + +

    Concurrent Versions System (CVS)

    +

    Carbide.c++ supports the Concurrent Versions System (CVS) for immediate version control support. Other revision systems are also supported but require the downloading of an Eclipse plug-in to add that feature to Carbide. Visit the eclipse.org or eclipse-plugins.2y.net sites to locate the plug-ins you need.

    +

    For more informaton on using CVS within Carbide, see the Workbench User Guide > Concepts > Team programming with CVS.

    +
    + + +
    + + diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/emulators.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/emulators.htm Wed Feb 10 15:19:41 2010 -0600 +++ b/core/com.nokia.carbide.cpp.doc.user/html/concepts/emulators.htm Thu Feb 11 15:08:43 2010 -0600 @@ -1,37 +1,37 @@ - - - - - - -Emulation Debugging - - - -

    Emulation Debugging

    -

    Symbian SDKs include an emulator that runs Symbian OS on a - Microsoft Windows host computer. The emulator provides the full range of Symbian OS - functionality, letting you do most development tasks on a single desktop computer. The - emulator and the software you build for it with the Carbide.c++ software run natively on the Intel x86 family of processors.

    -

    In many cases, you can build and debug a complete application using the emulator, then test the application on the actual device. There are cases however, where you cannot use - the emulator, such as when developing device drivers that access hardware on a device.
    - For more information about the emulator, please see the documentation that came with - your SDK under: Developer Library>Tools and Utilities>Emulator.

    -

    You will find an emulator to use with Carbide.c++ in:

    -
    -

    C:\Symbian\<version>\<sdk>\Epoc32\release\winscw\udeb

    -
    -

    where Symbian is the path containing the subdirectories and version number of the Symbian OS SDK.

    -

    NOTE The first time you launch an emulator it may take some time to appear. Remember that it is implementing the operating system on the target device and that some setup time is required.

    -
    Related tasks
    - -
    - - -
    - - + + + + + + +Emulation Debugging + + + +

    Emulation Debugging

    +

    Symbian SDKs include an emulator that runs Symbian OS on a + Microsoft Windows host computer. The emulator provides the full range of Symbian OS + functionality, letting you do most development tasks on a single desktop computer. The + emulator and the software you build for it with the Carbide.c++ software run natively on the Intel x86 family of processors.

    +

    In many cases, you can build and debug a complete application using the emulator, then test the application on the actual device. There are cases however, where you cannot use + the emulator, such as when developing device drivers that access hardware on a device.

    +

    For more information about the emulator, please see the documentation that came with + your SDK under: Developer Library > Tools and Utilities > Emulator.

    +

    You will find an emulator to use with Carbide.c++ in:

    +
    +

    C:\Symbian\<version>\<sdk>\Epoc32\release\winscw\udeb

    +
    +

    where Symbian is the path containing the subdirectories and version number of the Symbian OS SDK.

    +

    NOTE The first time you launch an emulator it may take some time to appear. Remember that it is implementing the operating system on the target device and that some setup time is required.

    +
    Related tasks
    + +
    + + +
    + + diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/ext_build_support.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/ext_build_support.htm Wed Feb 10 15:19:41 2010 -0600 +++ b/core/com.nokia.carbide.cpp.doc.user/html/concepts/ext_build_support.htm Thu Feb 11 15:08:43 2010 -0600 @@ -1,50 +1,50 @@ - - - - - - -External Builds Support - - - -

    External Builds Support

    -

    The IDE will perform the following tasks on external makefiles:

    - -

    The IDE can build an external makefile and debug its output. A linker plugin will enable the IDE to manage a command line and targets associated with a makefile. The command line is executed when a build step is initiated. The linker plugin will also supply the executable to use for debugging.

    -

    The linker plugin will provide a preference panel named External Build that is used to configure a target. The preference panel provides text fields for you to configure the command line for the target (which will enable building), specify the working directory and the output file used to launch a debugging session, and the debug platform.

    -

    The linker plugin is generic so that it can be used regardless of the target CPU and OS. The list of available debugger preference panels will be updated by the IDE when you select the debug platform.

    -

    The External Build Target preference panel will collect the following information:

    - -
    -

    The command line will be sent to the OS shell and will contain all parameters and/or switches that are necessary for proper building of the make file.

    -
    - -
    -

    After the IDE converts the makefile into a Carbide project, source files can be added in the project manager window. Files that appear in the project manager will be parsed by the language parser and will supply Source Browsing information, such as code completion.

    -

    When a build step is initiated, the linker plugin will gather output after the command line begins executing. Output is directed to the IDE and displayed in a read-only Build Output Window. A build output window is displayed for each target. The build output window can be displayed manually by selecting the menu command View > Build Output (Windows) or Window > Build Output (Linux/Solaris/Mac). This command is enabled for targets that use the external build linker.

    -

    If multiple build steps are performed on the same target, the output from each build step will be appended to the build output window. Each block of output will be separated by “----Build started----” and “----Done----” tags.

    -

    The build output window will allow users to navigate directly to the location of a compilation error. Double-click a line that contains an error message or press Enter when the cursor is in the line. If the IDE determines that a valid error message exists on the selected line, the source file is opened to the line on which the error occurred.

    -

    Click the right mouse button in the build output window to display a context menu.

    -
    - - - - - + + + + + + +External Builds Support + + + +

    External Builds Support

    +

    The IDE will perform the following tasks on external makefiles:

    + +

    The IDE can build an external makefile and debug its output. A linker plugin enables the IDE to manage a command line and targets associated with a makefile. The command line is executed when a build step is initiated. The linker plugin will also supply the executable to use for debugging.

    +

    The linker plugin provides a preference panel named External Build that is used to configure a target. The preference panel provides text fields for you to configure the command line for the target (which will enable building), specify the working directory and the output file used to launch a debugging session, and the debug platform.

    +

    The linker plugin is generic so that it can be used regardless of the target CPU and OS. The list of available debugger preference panels will be updated by the IDE when you select the debug platform.

    +

    The External Build Target preference panel collects the following information:

    + +
    +

    The command line will be sent to the OS shell and will contain all parameters and/or switches that are necessary for proper building of the make file.

    +
    + +
    +

    After the IDE converts the makefile into a Carbide project, source files can be added in the project manager window. Files that appear in the project manager will be parsed by the language parser and will supply Source Browsing information, such as code completion.

    +

    When a build step is initiated, the linker plugin will gather output after the command line begins executing. Output is directed to the IDE and displayed in a read-only Build Output Window. A build output window is displayed for each target. The build output window can be displayed manually by selecting the menu command View > Build Output (Windows) or Window > Build Output (Linux/Solaris/Mac). This command is enabled for targets that use the external build linker.

    +

    If multiple build steps are performed on the same target, the output from each build step will be appended to the build output window. Each block of output will be separated by “----Build started----” and “----Done----” tags.

    +

    The build output window allows users to navigate directly to the location of a compilation error. Double-click a line that contains an error message or press Enter when the cursor is in the line. If the IDE determines that a valid error message exists on the selected line, the source file is opened to the line on which the error occurred.

    +

    Click the right mouse button in the build output window to display a context menu.

    +
    + + + + + diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/images/breakpt_popup_menu.png Binary file core/com.nokia.carbide.cpp.doc.user/html/concepts/images/breakpt_popup_menu.png has changed diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/images/build_configs.png Binary file core/com.nokia.carbide.cpp.doc.user/html/concepts/images/build_configs.png has changed diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/images/view_registers.png Binary file core/com.nokia.carbide.cpp.doc.user/html/concepts/images/view_registers.png has changed diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/images/workbench.png Binary file core/com.nokia.carbide.cpp.doc.user/html/concepts/images/workbench.png has changed diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/mmpfiles.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/mmpfiles.htm Wed Feb 10 15:19:41 2010 -0600 +++ b/core/com.nokia.carbide.cpp.doc.user/html/concepts/mmpfiles.htm Thu Feb 11 15:08:43 2010 -0600 @@ -1,22 +1,22 @@ - - - - - - -MMP Files - - - -

    MMP Files

    -

    Symbian projects are defined by an .mmp file which specifies the essential elements of the project. All details of the project lifecycle are handled by the IDE. There is no editable makefile the user can edit to modify the build behavior of the project.

    -
    Related reference
    - -
    - - -
    - + + + + + + +MMP Files + + + +

    MMP Files

    +

    Symbian projects are defined by an .MMP file which specifies the essential elements of the project. All details of the project lifecycle are handled by the IDE. There is no editable makefile the user can edit to modify the build behavior of the project.

    +
    Related reference
    + +
    + + +
    + \ No newline at end of file diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/precompiled_headers.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/precompiled_headers.htm Wed Feb 10 15:19:41 2010 -0600 +++ b/core/com.nokia.carbide.cpp.doc.user/html/concepts/precompiled_headers.htm Thu Feb 11 15:08:43 2010 -0600 @@ -1,37 +1,36 @@ - - - - - - -Precompiled Headers - - - -

    Precompiled Headers

    -

    Precompiled header support is available for Symbian OS projects that use the Nokia x86 -compiler. Precompiled header files use the .pch++ extension and are only supported by emulator targets.

    -

    By default, the x86 compiler compiles the .pch++ file before compiling any .cpp files in a project.

    -

    A precompiled header file (.pch++) outputs to a new identically named file with the .mch extension. For example, HelloWorld.pch++ outputs as HelloWorld.mch. C++ source files must use the .pch++ extension.

    -

    Listing 1 shows an example of a precompiled header source file called -pch_test.pch++.

    -
    -

    Listing 1 .pch Precompiled Header example

    -

    #include <e32def.h>
    - #pragma precompile_target "pch_test.mch"
    -
    - #define FOO 1
    - #define LATIDA 345

    -

    typedef struct foo
    - {
    -    int i, j, k, l, m;
    -    char foobar[256];
    -} foo;

    -
    -

    The resultant output file, pch_test.mch can be included in other source or prefix files as:

    -

    #include pch_test.mch

    -

     

    - - - + + + + + + +Precompiled Headers + + + +

    Precompiled Headers

    +

    Precompiled header support is available for Symbian OS projects that use the Nokia x86 +compiler. Precompiled header files use the .pch++ extension and are only supported by emulator targets.

    +

    By default, the x86 compiler compiles the .pch++ file before compiling any .cpp files in a project.

    +

    A precompiled header file (.pch++) outputs to a new identically named file with the .mch extension. For example, HelloWorld.pch++ outputs as HelloWorld.mch. C++ source files must use the .pch++ extension.

    +

    Listing 1 shows an example of a precompiled header source file called +pch_test.pch++.

    +
    +

    Listing 1 .pch Precompiled Header example

    +

    #include <e32def.h>
    + #pragma precompile_target "pch_test.mch"
    +
    + #define FOO 1
    + #define LATIDA 345

    +

    typedef struct foo
    + {
    +    int i, j, k, l, m;
    +    char foobar[256];
    +} foo;

    +
    +

    The resultant output file, pch_test.mch can be included in other source or prefix files as:

    +

    #include pch_test.mch

    + + + \ No newline at end of file diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/registers.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/registers.htm Wed Feb 10 15:19:41 2010 -0600 +++ b/core/com.nokia.carbide.cpp.doc.user/html/concepts/registers.htm Thu Feb 11 15:08:43 2010 -0600 @@ -1,31 +1,35 @@ - - - - - - -Registers - - - -

    Registers

    -

    Registers are the register contents of the central processing unit (CPU) of the host computer or the targeted device. When debugging projects using the emulator, only the host computer x86 registers are visible in the Registers view. When debugging projects on a device, only the target device registers are visible.

    -

    In most cases, the contents of all the registers can be modified. However, when debugging applications on a target device with Application TRK, you cannot change the LR and SP registers.

    -

    The types of registers include:

    - -

    NOTE When opening the Registers view, the list of available registers will vary depending upon the target devices being debugged.

    -
    Other references
    - - - - - + + + + + + +Registers + + + +

    Registers

    +

    Registers are the register contents of the central processing unit (CPU) of the host computer or the targeted device. When debugging projects using the emulator, only the host computer x86 registers are visible in the Registers view. When debugging projects on a device, only the target device registers are visible.

    +

    In most cases, the contents of all the registers can be modified. However, when debugging applications on a target device with Application TRK, you cannot change the LR and SP registers.

    +

    +

    Figure 1. Registers view with possible register types

    +

    The types of registers can include:

    + +

    NOTE When opening the Registers view, the list of available registers will vary depending upon the target devices being debugged.

    +
    Other references
    + + + + + diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/symbol_hints.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/symbol_hints.htm Wed Feb 10 15:19:41 2010 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,34 +0,0 @@ - - - - - - -Symbol Hint - - - -

    Symbol Hint

    -

    The symbol hint shows information about variable values. This information appears automatically while the debugger is active.
    -Select the Show variable values in the source code option in the Display Settings preference panel to use the symbol hint.

    -

    Toggling the Symbol Hint

    -

    Turn on the symbol hint to view information about program variables in source views.

    -
    -
    To toggle the symbol hint
    -
      -
    1. Click Edit > Preferences.
    2. -

      The IDE Preferences window appears.

      -
    3. Select Display Settings in the IDE Preference Panels list.
    4. -
    5. Check or clear the Show variable values in source code checkbox.
    6. -

      Check the checkbox to use the symbol hint. Clear the checkbox to stop using the symbol hint.

      -
    7. Click Apply or Save to confirm your changes to the preference panel.
    8. -
    9. Close the IDE Preferences window.
    10. -
    -
    -

    Using the Symbol Hint

    -

    During a debugging session, use the symbol hint to view information about program variables.

    -

    To use the symbol hint, rest the cursor over a variable in a source view. After a brief pause, the symbol hint appears and shows the current variable value.

    - - - - \ No newline at end of file diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/watchpoints.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/watchpoints.htm Wed Feb 10 15:19:41 2010 -0600 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,117 +0,0 @@ - - - - - - -Watchpoints Overview - - - -

    Watchpoints Overview

    -

    Use watchpoints (sometimes referred to as access breakpoints) to halt program execution when a specific global location is accessed. After you set a watchpoint at a key point in memory, you can halt program execution whenever that point in memory is written to or read from. You can then examine the call chain, check register and variable values, and step through your code. You can also change values and alter the flow of normal program execution.

    -

    A watchpoint must be both enabled and resolved during a debug session in order to halt program execution. The Breakpoints view indicates the status of any watchpoint using a set of common icons and checkmark status badge. These include:

    - -

    In effect, a watchpoint that is enabled by the user and resolved by the debugger during program launch can halt program execution. The table below shows the various states that cause the debugger to halt program execution:

    -
    Table 1 Watchpoint—stop execution chart
    - - - - - - - - - - - - - - - - -
    Watchpoint
    Resolved
    Unresolved
    Enabled
    Stops execution
    No
    Disabled
    No
    No
    -

     

    -

     

    -

     

    -

    In addition, you can use these types of watchpoints:

    - -

    A watchpoint is equivalent to a memory breakpoint.

    -

    Unlike a breakpoint, a watchpoint can detect when any part of your program affects memory. For example, if a write or write/read watchpoint is set, when the program writes a new value to the address or area of memory that has the watchpoint, the debugger suspends program execution.

    -

    NOTE You cannot set a watchpoint on a local variable, because the debugger cannot detect watchpoints for variables stored on the stack or in registers.

    -
    Table 2 Watchpoint—types and states
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    TypeStateIconExplanation
    Writeenabled

    The watchpoint is activated for write access operations on the specific memory location and if resolved, will halt program execution on a write operation at the watchpoint.

    -
    disabled

    Watchpoint is disabled for the source line, debugger does not halt program execution on a write operation.

    -
    Readenabled

    The watchpoint is activated for read access operations on the specific memory location and if resolved, will halt program execution on a read operation at the watchpoint.

    -
    disabled

    Watchpoint is disabled for the source line, debugger does not halt program execution on a read operation.

    -
    Write/Readenabled

    The watchpoint is activated for both read and write access operations on the specific memory location and if resolved, will halt program execution on any read or write operation at the watchpoint.

    -
    disabled

    Watchpoint is disabled for the source line, debugger does not halt program execution on a read or write operation.

    -
    -

    A project can have a different maximum number of watchpoints, depending on the build target. The IDE generally limits the acceptable range for watchpoints to memory that it can write-protect. This range also depends on the host and on the application.

    -

    All set watchpoints appear in the Breakpoints view list.

    -
    Related concepts
    - -
    Related tasks
    - -
    Related references
    - - - - - diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/concepts/working_with_programs.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/concepts/working_with_programs.htm Wed Feb 10 15:19:41 2010 -0600 +++ b/core/com.nokia.carbide.cpp.doc.user/html/concepts/working_with_programs.htm Thu Feb 11 15:08:43 2010 -0600 @@ -1,35 +1,35 @@ - - - - - - -Controlling Program Execution - - - -

    Controlling Program Execution

    -

    This section explains how to use breakpoints, breakpoint actions, and watchpoints to manipulate execution of your program in the Carbide™ IDE:

    - -

    After you set these items in your source code, you start a debugging session to use them. As program execution arrives at each of these items, the debugger can halt execution, perform a task, or update data.

    -
    Related concepts
    - -
    Related references
    - - - - - + + + + + + +Controlling Program Execution + + + +

    Controlling Program Execution

    +

    This section explains how to use breakpoints, breakpoint actions, and watchpoints to manipulate execution of your program in the Carbide™ IDE:

    + +

    After you set these items in your source code, you start a debugging session to use them. As program execution arrives at each of these items, the debugger can halt execution, perform a task, or update data.

    +
    Related concepts
    + +
    Related references
    + + + + + diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/reference/MBMEditor.html --- a/core/com.nokia.carbide.cpp.doc.user/html/reference/MBMEditor.html Wed Feb 10 15:19:41 2010 -0600 +++ b/core/com.nokia.carbide.cpp.doc.user/html/reference/MBMEditor.html Thu Feb 11 15:08:43 2010 -0600 @@ -1,112 +1,110 @@ - -MBM Editor - - - -

    MBM Editor

    - -

    - The MBM Editor allows you to specify the bitmaps that - should be included in a Symbian OS multi-bitmap (MBM) file. Use of MBM files for general purpose graphics is restricted to using .bmp files and works for versions 2.x and later releases of the Symbian OS SDKs. For more - information, see MBM File and Creating a MBM File. -

    -

    - The MBM Editor is shown when an MBM file is - opened for editing:

    -

    -

    Figure 1 - MBM Editor

    -
    Table 1. MBM Editor —Items
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    ItemExplanation
    Target File

    Specifies the EPOCROOT relative path for the compiled images. Click the Default button to set the target file based on the SDK and project name.

    Header File Shows the generated header file. Select the Header option in the Header Generation group to create a default .mbg file. The path cannot be edited in this field.
    Header Generation

    Options include:

    -
      -
    • No header - If selected, no .mbg header will be generated.
    • -
    • Header - If selected, a .mbg header will be generated.
    • -
    UpSelect an image in the list and click Up to move the selection one position up in the list.
    Down

    Select an image in the list and click Down to move the selection one position down in the list.

    Pair Image and Mask Select two adjacent unpaired BMP image entries in the list and click this button to combine the images together into image/mask pairs.
    Split Image and Mask Select a paired BMP image in the list and click this button to split the image into image and mask entries.
    Swap Image and Mask Select a paired BMP image in the list and click this button to swap the image and mask files and format information in paired image entries.
    Add From Project Click this button to open an Add Images from Project dialog to reference available images in the project.
    Add From FilesystemClick this button to open an Add Images From Filesystem dialog to locate and reference existing images in the filesystem or copy images to the project.
    RemoveSelect an image and click Remove to remove image entry from the list. This does not delete file from directory.
    Color depth Select the bit depth used to encode the image at build time.
    Mask depth

    Select the bit depth used to encode the mask at build time. Options include:

    -
      -
    • n/a - Do not apply mask depth to images
    • -
    • 1 - A 1-bit mask treats pixels as "on/off" bits, where black is opaque and white is transparent.
    • -
    • 8 - An 8-bit mask is treated as alpha values, where black is transparent and white is opaque.
    • -
    Color format Select Color to encode the image(s) as color or select Grayscale to encode the image(s) as grayscale.
    Set from image Click this button to auto-detect the image depth, mask depth, and color/grayscale setting from the image contents.
    PreviewA preview of the image as it will appear at runtime.
    -

     

    -
    Related concepts
    - - -
    Related tasks
    - - - - - + +MBM Editor + + + +

    MBM Editor

    + +

    + The MBM Editor allows you to specify the bitmaps that + should be included in a Symbian OS multi-bitmap (MBM) file. Use of MBM files for general purpose graphics is restricted to using .bmp files and works for versions 2.x and later releases of the Symbian OS SDKs. For more + information, see MBM File and Creating a MBM File.

    +

    + The MBM Editor is shown when an MBM file is + opened for editing:

    +

    +

    Figure 1 - MBM Editor

    +
    Table 1. MBM Editor —Items
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ItemExplanation
    Target File

    Specifies the EPOCROOT relative path for the compiled images. Click the Default button to set the target file based on the SDK and project name.

    Header File Shows the generated header file. Select the Header option in the Header Generation group to create a default .mbg file. The path cannot be edited in this field.
    Header Generation

    Options include:

    +
      +
    • No header - If selected, no .mbg header will be generated.
    • +
    • Header - If selected, a .mbg header will be generated.
    • +
    UpSelect an image in the list and click Up to move the selection one position up in the list.
    Down

    Select an image in the list and click Down to move the selection one position down in the list.

    Pair Image and Mask Select two adjacent unpaired BMP image entries in the list and click this button to combine the images together into image/mask pairs.
    Split Image and Mask Select a paired BMP image in the list and click this button to split the image into image and mask entries.
    Swap Image and Mask Select a paired BMP image in the list and click this button to swap the image and mask files and format information in paired image entries.
    Add From Project Click this button to open an Add Images from Project dialog to reference available images in the project.
    Add From FilesystemClick this button to open an Add Images From Filesystem dialog to locate and reference existing images in the filesystem or copy images to the project.
    RemoveSelect an image and click Remove to remove image entry from the list. This does not delete file from directory.
    Color depth Select the bit depth used to encode the image at build time.
    Mask depth

    Select the bit depth used to encode the mask at build time. Options include:

    +
      +
    • n/a - Do not apply mask depth to images
    • +
    • 1 - A 1-bit mask treats pixels as "on/off" bits, where black is opaque and white is transparent.
    • +
    • 8 - An 8-bit mask is treated as alpha values, where black is transparent and white is opaque.
    • +
    Color format Select Color to encode the image(s) as color or select Grayscale to encode the image(s) as grayscale.
    Set from image Click this button to auto-detect the image depth, mask depth, and color/grayscale setting from the image contents.
    PreviewA preview of the image as it will appear at runtime.
    +
    Related concepts
    + + +
    Related tasks
    + + + + + \ No newline at end of file diff -r bbee10bb6733 -r 47d3ca29d054 core/com.nokia.carbide.cpp.doc.user/html/reference/MMP_Editor_libraries.html --- a/core/com.nokia.carbide.cpp.doc.user/html/reference/MMP_Editor_libraries.html Wed Feb 10 15:19:41 2010 -0600 +++ b/core/com.nokia.carbide.cpp.doc.user/html/reference/MMP_Editor_libraries.html Thu Feb 11 15:08:43 2010 -0600 @@ -1,51 +1,51 @@ - - -MMP Editor Libraries - - - -

    MMP Editor Libraries Window

    - -

    - The MMP editor libraries window lists the libraries used by the currently selected build configuration in the selected project. The MMP editor libraries window is shown in Figure 1. Click on a library group to expand the list of libraries and show the related control buttons. You can add, remove or edit the list of libraries for each group. You can also move libraries up or down in the list.

    -

    -

    Figure 1 - MMP Editor Libraries window

    -

    - - - - - - - - - - - - - - -
    NameFunction
    -

    - Libraries

    -

    - Specify import libraries to be included in all builds.

    -

    - Static libraries

    -

    - Specify additional static libraries to be used in all builds.

    Debug librariesSpecify additional libraries to be used for debug builds only.
    Win32 librariesSpecify additional libraries for Win32 builds only.
    ASSP librariesSpecify libraries for ASSP builds. If you are not linking to the Symbian OS kernel you can ignore this section.
    -
    Related references
    - - - - - - - + + +MMP Editor Libraries + + + +

    MMP Editor > Libraries

    + +

    + The MMP editor libraries window lists the libraries used by the currently selected build configuration in the selected project. The MMP editor libraries window is shown in Figure 1. Click on a library group to expand the list of libraries and show the related control buttons. You can add, remove or edit the list of libraries for each group. You can also move libraries up or down in the list.

    +

    +

    Figure 1 - MMP Editor Libraries window

    +

    + + + + + + + + + + + + + + +
    NameFunction
    +

    + Libraries

    +

    + Specify import libraries to be included in all builds.

    +

    + Static libraries

    +

    + Specify additional static libraries to be used in all builds.

    Debug librariesSpecify additional libraries to be used for debug builds only.
    Win32 librariesSpecify additional libraries for Win32 builds only.
    ASSP librariesSpecify libraries for ASSP builds. If you are not linking to the Symbian OS kernel you can ignore this section.
    +
    Related references
    + + + + + + + \ No newline at end of file