To build the program to be debugged:
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.
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.