# HG changeset patch # User fturovic # Date 1279577052 18000 # Node ID 44a3965e21f231c33b6818feb033775c7337d2f6 # Parent 2b3996fc09a186130cc3a675e932efa6ca30af1a added new page to debug on device tutorial with new images diff -r 2b3996fc09a1 -r 44a3965e21f2 core/com.nokia.carbide.cpp.doc.user/html/projects/images/debugging_project_07.png Binary file core/com.nokia.carbide.cpp.doc.user/html/projects/images/debugging_project_07.png has changed diff -r 2b3996fc09a1 -r 44a3965e21f2 core/com.nokia.carbide.cpp.doc.user/html/projects/images/debugging_project_08.png Binary file core/com.nokia.carbide.cpp.doc.user/html/projects/images/debugging_project_08.png has changed diff -r 2b3996fc09a1 -r 44a3965e21f2 core/com.nokia.carbide.cpp.doc.user/html/projects/images/debugging_project_09.png Binary file core/com.nokia.carbide.cpp.doc.user/html/projects/images/debugging_project_09.png has changed diff -r 2b3996fc09a1 -r 44a3965e21f2 core/com.nokia.carbide.cpp.doc.user/html/projects/images/debugging_project_10.png Binary file core/com.nokia.carbide.cpp.doc.user/html/projects/images/debugging_project_10.png has changed diff -r 2b3996fc09a1 -r 44a3965e21f2 core/com.nokia.carbide.cpp.doc.user/html/projects/images/debugging_project_11.png Binary file core/com.nokia.carbide.cpp.doc.user/html/projects/images/debugging_project_11.png has changed diff -r 2b3996fc09a1 -r 44a3965e21f2 core/com.nokia.carbide.cpp.doc.user/html/projects/images/debugging_project_12.png Binary file core/com.nokia.carbide.cpp.doc.user/html/projects/images/debugging_project_12.png has changed diff -r 2b3996fc09a1 -r 44a3965e21f2 core/com.nokia.carbide.cpp.doc.user/html/projects/images/debugging_project_13.png Binary file core/com.nokia.carbide.cpp.doc.user/html/projects/images/debugging_project_13.png has changed diff -r 2b3996fc09a1 -r 44a3965e21f2 core/com.nokia.carbide.cpp.doc.user/html/projects/images/debugging_project_14.png Binary file core/com.nokia.carbide.cpp.doc.user/html/projects/images/debugging_project_14.png has changed diff -r 2b3996fc09a1 -r 44a3965e21f2 core/com.nokia.carbide.cpp.doc.user/html/projects/tutorials/run_mode_debug_example_03.htm --- a/core/com.nokia.carbide.cpp.doc.user/html/projects/tutorials/run_mode_debug_example_03.htm Mon Jul 19 16:13:24 2010 -0500 +++ b/core/com.nokia.carbide.cpp.doc.user/html/projects/tutorials/run_mode_debug_example_03.htm Mon Jul 19 17:04:12 2010 -0500 @@ -18,8 +18,44 @@

 

-

Configure project for debugging

-

 

+
+

Configure project for debugging

+
    +
  1. Select a configuration to debug the HelloWorld application on the target device. +

    We choose Phone Debug (armv5_udeb) for this example using the Manage Configurations icon on the toolbar, but yours name may differ based upon the SDK selected for your project.

    +

    Select device target

    +
  2. +
  3. Click the Debug icon (Debug icon) on the toolbar. +

    This opens the New Launch Configuration Wizard dialog asking for additional information. For the first launch you must define the name of the package to install on the target device.

    +

    New Launch Configuration Wizard

    +
      +
    1. Click the Change... button in the Debug Process section to open the Change Debug Process dialog. +

      New Launch Configuration Wizard

      +
    2. +
    3. Enable the 'Launch program on device' option and select the executable to launch. +

      This tells the TRK remote agent which application to launch once its downloaded.

      +
    4. +
    5. Click the 'Modify SIS builder settings for build configuration' to open the Properties for project dialog.
    6. +

      The Carbide.c++ > Build Configurations > SIS Builder tab is shown.

      +

      SIS Builder tab

      +
    7. Click Add to open the SIS Properties dialog. +

      SIS Properties dialog

      +
    8. +
    9. Select the project's PKG file to download to the device, then click OK. +

      SIS Builder tab

      +
    10. +
    11. Verify the PKG in the SIS Builder tab, then click OK.
    12. +
    +
  4. Verify the settings in the Change Debug Process, then click OK. +

    SIS Builder tab

    +
  5. +
  6. Review the Configure launch configuration setup, then click Debug. +

    SIS Builder tab

    +

    The project is built, downloaded to the target device, and the executable launched on the device.

    +
  7. +
+

On subsequent launches the project will be compiled and downloaded to the target device without any setup on your part. The only time you should need to perform these actions is if you change anything that effects to launch configuration. Of course, you can always modify the settings by using the New or Debug window to edit launch configurations.

+

NEXT: Debug project on target device

Other references