core/com.nokia.carbide.cpp.doc.user/html/cheatsheets/run_mode_cs.xml
author fturovic <frank.turovich@nokia.com>
Tue, 13 Apr 2010 15:55:45 -0500
changeset 1207 e265bbe56eb0
parent 184 758f05682b77
permissions -rw-r--r--
merge 2.6 changes to 3.0 docs
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
     1
<?xml version="1.0" encoding="UTF-8"?>
184
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     2
<cheatsheet title="Run Mode On-device Debugging">
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     3
   <intro href="/com.nokia.carbide.cpp.doc.user/html/reference/perspective_debug.htm">
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
     4
      <description>
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
     5
         Follow these steps to install on-device run mode debug software and compilers, create ROM images, and define launch configurations.
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
     6
      </description>
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
     7
   </intro>
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
     8
   <item
184
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
     9
         href="/com.nokia.carbide.cpp.doc.user/html/reference/trk/wnd_new_connection_wizard.htm"
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    10
         title="Target Side Requirements">
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    11
      <description>
184
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    12
         Before you can perform run-mode debugging on a target device, be sure that your development setup includes the following:
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    13
      </description>
184
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    14
      <subitem
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    15
            label="Select or create a connection setting for the target device. See the cheatsheet Creating On-device Connections for details.">
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    16
         <command
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    17
               required="false"
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    18
               serialization="org.eclipse.ui.cheatsheets.openCheatSheet(cheatSheetId=com.nokia.carbide.cpp.doc.user.com.nokia.carbide.cpp.doc.user.new_remote_connection)"/>
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    19
      </subitem>
184
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    20
      <subitem
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    21
            label="Ensure that the latest remote agent is installed on the target device. If not, see the Installing Remote Agents cheatsheet to download and install the latest debugger remote agent."
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    22
            skip="true">
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    23
         <command
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    24
               required="false"
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    25
               serialization="org.eclipse.ui.cheatsheets.openCheatSheet(cheatSheetId=com.nokia.carbide.cpp.doc.user.install_remote_agent)"/>
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    26
      </subitem>
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    27
   </item>
184
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    28
   <item title="Host Side Requirements" dialog="true" skip="false" href="/com.nokia.carbide.cpp.doc.user/html/tasks/start/carbide_requirements.htm">
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    29
      <description>
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    30
         Before you begin stop mode debugging, make sure all preconditions are met.
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    31
      </description>
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    32
      <subitem
184
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    33
            label="Install or verify that the correct version of Perl () is installed.">
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    34
      </subitem>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    35
      <subitem label="Install or verify that the correct SDK is installed for the target device." skip="false">
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    36
      </subitem>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    37
      <subitem label="Verify that the correct environment variables are set for the SDK. Installers normally set these variables, but if you installed the SDK from a ZIP file you may need to add them yourself." skip="true">
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    38
      </subitem>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    39
      <subitem label="Setup a virtual drive for those kits that require a subst drive to operate correctly." skip="true">
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    40
      </subitem>
184
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    41
   </item>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    42
   <item
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    43
         href="/com.nokia.carbide.cpp.doc.user/html/tasks/ImportingProjects.html"
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    44
         title="Import Project into Workspace">
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    45
      <description>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    46
         Import the bld.inf file into the <b>Project Explorer</b> view to create the project.
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    47
      </description>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    48
      <subitem
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    49
            label="Click File &gt; Import to open the Import wizard.">
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    50
      </subitem>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    51
      <subitem
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    52
            label="Select the Symbian OS &gt; Symbian OS Bld.inf file option, then click Next.">
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    53
      </subitem>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    54
      <subitem
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    55
            label="Locate and select the bld.info file to import, and the Builder to use with the project, then click Next.">
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    56
      </subitem>
184
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    57
      <subitem
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    58
            label="Select the SDK and Build Configurations to create in the project, then click Next.">
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    59
      </subitem>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    60
      <subitem
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    61
            label="Select which MMPs to import with the project, then click Next.">
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    62
      </subitem>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    63
      <subitem
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    64
            label="Name the project and set the root directory, then click Finish.">
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    65
      </subitem>
184
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    66
   </item>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    67
   <item
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    68
         href="/com.nokia.carbide.cpp.doc.user/html/tasks/projects/prj_build.htm"
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    69
         title="Build Project">
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    70
      <description>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    71
         Once imported its time to build the project to ensure correct any build issue prior to debugging.
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    72
      </description>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    73
      <subitem
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    74
            label="Click Project &gt; Build Project to compile and link the project.">
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    75
         <command
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    76
               required="false"
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    77
               serialization="org.eclipse.ui.project.buildProject"/>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    78
      </subitem>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    79
      <subitem
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    80
            label="Any problems building the project should be cleared up at this stage.">
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    81
      </subitem>
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    82
   </item>
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    83
   <item
184
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    84
         href="/com.nokia.carbide.cpp.doc.user/html/tasks/breakpoints/pgm_bp_setting.htm"
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    85
         title="Set Breakpoint in Project">
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    86
      <description>
184
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    87
         <b>Body</b>
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    88
      </description>
184
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    89
      <subitem
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    90
            label="Open a source file in the project. It should be one you know will be execuated. Event handling routines are excellent for this.">
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    91
      </subitem>
184
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    92
      <subitem
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    93
            label="Right-click the source line and select the Enable Breakpoint option. A breakpoing icon appears at the start of the line.">
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    94
      </subitem>
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    95
   </item>
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    96
   <item
184
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    97
         href="/com.nokia.carbide.cpp.doc.user/html/debugger/debug/cmds_starting.htm"
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
    98
         title="Launch Project to Debug">
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
    99
      <description>
184
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   100
         Launch the project in debug mode to define a  launch configuration, download the executable to the target device, and start debugging the program.
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
   101
      </description>
184
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   102
      <subitem
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   103
            label="Click Project &gt; Debug to launch the New Launch Configuration wizard.">
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   104
         <command
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   105
               required="false"
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   106
               serialization="org.eclipse.debug.ui.commands.DebugLast"/>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   107
      </subitem>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   108
      <subitem
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   109
            label="Complete the New Launch Configuration wizard, then click Debug.">
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   110
      </subitem>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   111
      <subitem
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   112
            label="Download executable to target device.">
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   113
      </subitem>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   114
      <subitem
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   115
            label="Program is launched on target device and control returns to the Carbide debugger.">
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   116
      </subitem>
0
fb279309251b DP tools release version Revision: 200912
Deepak Modgil <Deepak.Modgil@Nokia.com>
parents:
diff changeset
   117
   </item>
184
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   118
   <item
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   119
         href="/com.nokia.carbide.cpp.doc.user/html/debugger/debug/cmds_resuming.htm"
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   120
         title="Resume Debugging Session">
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   121
      <description>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   122
         Use the <b>Debug</b> perspective to examine variables, breakpoints, memory, assembly code, and other details of the halted program.
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   123
      </description>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   124
      <subitem
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   125
            label="Set a new breakpoint in the program.">
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   126
      </subitem>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   127
      <subitem
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   128
            label="Click Resume to restart the program. The program should execute until the new breakpoint is hit, at which time control again returns to the Carbide debugger.">
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   129
      </subitem>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   130
      <subitem
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   131
            label="Repeat the above steps as necessary to fully debug your program on the device.">
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   132
      </subitem>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   133
   </item>
758f05682b77 updated run mode cheatsheet
fturovic <frank.turovich@nokia.com>
parents: 0
diff changeset
   134
 </cheatsheet>