Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



How to build the program to be debugged

To build the program to be debugged:

  1. Add the line SRCDBG to the project's mmp files

    Debugging optimised code can be difficult. Adding this line causes makmake to create a makefile for generating the program without optimisations.

  2. Build the program using the command line:

    abld build armi udeb

    The program should be built using UDEB because debugging information is only emitted in UDEB builds, and because UDEB builds do not include some optimisations which complicate debugging.

    Note that it makes sense to build the program for ARMI as this will work on all the other platforms.