equal
deleted
inserted
replaced
27 * Set to 1 to disable tracing. Default is 0. |
27 * Set to 1 to disable tracing. Default is 0. |
28 */ |
28 */ |
29 #define DISABLE_TRACE 0 |
29 #define DISABLE_TRACE 0 |
30 |
30 |
31 /** |
31 /** |
32 * 0 = Tracing into RDebug in all builds. |
32 * 0 = Tracing into RDebug in all builds. (Default) |
33 * 1 = Tracing into RDebug in winscw, file in ARM. (Default) |
33 * 1 = Tracing into RDebug in winscw, file in ARM. |
34 * 2 = Tracing into file in all builds. |
34 * 2 = Tracing into file in all builds. |
35 */ |
35 */ |
36 #define TRACE_OUTPUT 1 |
36 #define TRACE_OUTPUT 0 |
37 |
37 |
38 //----------------------------------------------------------------------------- |
38 //----------------------------------------------------------------------------- |
39 // Trace configuration |
39 // Trace configuration |
40 //----------------------------------------------------------------------------- |
40 //----------------------------------------------------------------------------- |
41 // |
41 // |
88 //----------------------------------------------------------------------------- |
88 //----------------------------------------------------------------------------- |
89 // |
89 // |
90 /** |
90 /** |
91 * Trace prefixes for macros with component name. |
91 * Trace prefixes for macros with component name. |
92 */ |
92 */ |
93 #define _PREFIX_TRACE( a ) TPtrC( (const TText*) L"#FuC# " L##a ) |
93 #define _PREFIX_TRACE( a ) TPtrC( (const TText*) L"#Fu#Co# " L##a ) |
94 #define _PREFIX_TRACE_2( a, b ) TPtrC( (const TText*) L"#FuC# " L##a L##b ) |
94 #define _PREFIX_TRACE_2( a, b ) TPtrC( (const TText*) L"#Fu#Co# " L##a L##b ) |
95 #define _PREFIX_TRACE8( a ) (const char*)( "#FuC# " a ) |
95 #define _PREFIX_TRACE8( a ) (const char*)( "#Fu#Co# " a ) |
96 |
96 |
97 /** |
97 /** |
98 * Prefix error trace |
98 * Prefix error trace |
99 */ |
99 */ |
100 #define _PREFIX_ERROR( aMsg ) _PREFIX_TRACE( "[ERROR: %d]: " L##aMsg ) |
100 #define _PREFIX_ERROR( aMsg ) _PREFIX_TRACE( "[ERROR: %d]: " L##aMsg ) |