## Run Mode On-Device Debugging

To implement run mode on-device debugging the following tasks need to be completed.

1. Install device connection software
2. Install Perl
3. Install an SDK
4. Setup environment variables
5. Setup a virtual drive for Techview and Cust Kits
6. Set the default kit in Devices.xml
7. Install the SISX file on the target device
8. Configure TRK connection on the device
9. Create a launch configuration

#### Set the Default Kit in Devices.xml

The Symbian environment needs to know the kit you are using. This is needed since you may have multiple kits installed. You can specify the development kit by setting a default in the file called devices.xml located in the C:\Program Files\Common Files\Symbian folder.

##### From the command line

1. Set the default device devkit by typing on the command line:
   > devices –setdefault @device id: name

The device id and name can be found in the devices.xml file. For example, for a Techview 9.2 kit you might type
> devices –setdefault @ SymbianOS_92_2006_wk40:com.symbian.techview

2. Now ensure the default device is set by entering:
   > devices
3. Make sure the correct default is set.