diff -r 000000000000 -r fb279309251b core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug_03.htm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/com.nokia.carbide.cpp.doc.user/html/tasks/debugger/run_mode_debug_03.htm Fri Apr 03 23:33:03 2009 +0100 @@ -0,0 +1,56 @@ + + + + + + +Debugger Settings + + + +

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. +
  3. Install Perl
  4. +
  5. Install an SDK
  6. +
  7. Setup environment variables
  8. +
  9. Setup a virtual drive for Techview and Cust Kits
  10. +
  11. Set the default kit in Devices.xml
  12. +
  13. Install the SISX file on the target device
  14. +
  15. Configure TRK connection on the device
  16. +
  17. Create a launch configuration
  18. +
+
+

Setup Environment Variables

+
    +
  1. Set EPOCROOT variable +
      +
    1. Right click on My Computer and select Properties
    2. +
    3. Select the Advanced tab
    4. +
    5. Select the Environmental Variables button
    6. +
    7. Setup a new System variable called EPOCROOT. The value will depend on the path of the epoc32 folder in the kit, for example:
    8. +

      Variable name: EPOCROOT
      + Variable value: \bin\techview\

      +
    +
  2. +

    NOTE Take note of the location of the epoc32 folder when using multiple kits. Some kits place the epoc32 folder at \bin\techview\ and some kits will place it at the root. If you have multiple installations and switch to a new kit, you will need to change the EPOCROOT path; otherwise build problems may occur. When building the ROM image, scripts may complain about the EPOCROOT path or that it can’t find bldmake.bat if an incorrect EPOCROOT path is set.

    +
  3. Set Path to Tools Directory +
      +
    1. If using an installer the tools path is set up automatically and points to:
    2. + Variable: PATH
      + Value: C:\Program Files\Common Files\Symbian\Tools +
    3. If installing from zip files you will need to setup the tools path manually. Add the path to the beginning of the PATH variable:
    4. + Variable: PATH
      + Variable Value: \epoc32\tools;\epoc32\gcc\bin; +
    5. If using multiple kits that use a mix of installer and zip files then you can set up your PATH variable like this:
    6. + Variable: PATH
      + Value: \epoc32\tools;\epoc32\gcc\bin;C:\Program Files\Common Files\Symbian\Tools +
    +
  4. +
+
+ + + +