The Trace Compiler is a tool that is attached to the Symbian OS Build System. It is run before the actual C++ compiler. The purpose of Trace Compiler is to generate the needed headers for Open System Traces (OST) traces to compile. Trace Compiler is run when you normally compile your component that has OST traces.
When Trace Compiler is run and the project contains OST traces, you should find
the following text printed on the Console tab, as in the following example
for the HelloWorld component:
perl C:/Symbian/9.3/S60_3rd_FP2/epoc32/tools/tracecompiler.pl WINSCW ******************* TRACECOMPILER STARTS ******************* Building traces for component HelloWorld. Component UID: 0xEAAEC036. ******************* TRACECOMPILER ENDS *********************
After Trace Compiler is run, the needed headers are generated to the traces folder of your component. If you have OST traces in HelloWorld.cpp, the header to be generated is HelloWorldTraces.h, which is included from HelloWorld.cpp.
Note: If you cannot find the following line or similar when compiling your component, it might be that your SDK does not have Trace Compiler installed:
perl C:/Symbian/9.3/S60_3rd_FP2/epoc32/tools/tracecompiler.pl WINSCW