## Run Mode Overview

This example shows how to create and build an application and debug it on a device using the Symbian OS Device (Install SIS) on-device debug agent. Click this link to the HelloCarbide cheatsheet that provides links to detailed steps. The majority of steps are identical to the ones used to create a program and debug in an emulator, with some minor variations.

See the Run Mode Debug Example for a walkthrough of the following steps which include:

1. Verify that your SDK or customer kit is recognized in the Symbian SDKs panel.
2. Create a project by importing a Bld.inf
3. Verify that all the symbolics for the binaries are visible in the Executables view
4. Manage the project's PKG file, being sure to:
   - Create a PKG file for the application (if using Symbian OS Device (Install SIS))
   - Include the PKG file as part of the project in the SIS Builder pane of your project Properties
   - Specify application keys (if not a self-signing application) in the SIS Properties dialog
5. Build the project using a target for on-device build configuration (GCCE or ARM)
6. Start the CODA on-device debug agent on the device
7. Create a Symbian OS Device (Install SIS) launch configuration to provide additional information to the debugger
8. Launch the debugger to interactively control the program on the device

NOTE Carbide will install the SISX file on the device prior to launching the debugger.

At this point you can open sources files from the Executables view or project view in order to set breakpoints.

##### Related tasks

- Attaching to a Symbian OS Process

##### Related references

- On-device Debugging Troubleshooting
- Symbian OS View