|
1 /* |
|
2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Configuration file for RubyDebug macros |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef RUBYDEBUGCFG_H |
|
21 #define RUBYDEBUGCFG_H |
|
22 |
|
23 |
|
24 #include <e32cmn.h> // TLitC |
|
25 #include <e32def.h> // _LIT |
|
26 |
|
27 #include "rubydebugconfigselector.h" |
|
28 |
|
29 // Common settings |
|
30 // Is printed at the beginning of the line |
|
31 _LIT( __K_RUBY_HEADER, "[<SRSF>] "); |
|
32 |
|
33 // Is printed after __KRUBY_HEADER for the error messages |
|
34 _LIT( __K_RUBY_ERROR, "[Error!] "); |
|
35 |
|
36 |
|
37 #if defined(RUBY_EXTERNAL_VARIANT) && defined(__WINS__) |
|
38 // set of options to use when the project is released to the customers |
|
39 |
|
40 // Uncomment the following line to disable RUBY_DEBUGs. |
|
41 // This has no effect on RUBY_ERRORs |
|
42 //#define __RUBY_DEBUG_DISABLED |
|
43 |
|
44 // Uncomment the following line to get traces to C:\Logs\RubyTrace.log |
|
45 #define __RUBY_DEBUG_TRACES_TO_FILE |
|
46 |
|
47 // Uncomment the following line to stop disable RUBY_ERRORs |
|
48 // Error print is always enabled in _DEBUG |
|
49 //#define RUBY_DISABLE_ERRORS |
|
50 |
|
51 // Uncomment the following line to disable extra output for RUBY_ASSERT_DEBUG |
|
52 // RUBY_ASSERT_DEBUGs will become usual __ASSERT_DEBUGs |
|
53 #define RUBY_DISABLE_ASSERT_DEBUG |
|
54 |
|
55 // Uncomment the following line to disable automated function name printing |
|
56 //#define RUBY_DISABLE_FUNCTION_NAMES |
|
57 |
|
58 //#define RUBY_DIDSPLAY_EVERYTHING_FOR_BLOCKL |
|
59 |
|
60 // Uncomment the following line to disable leave code printing in RUBY_TRAP_IGNORE |
|
61 // macro. It would make it equivalent to TRAP_IGNORE |
|
62 // #define RUBY_DISABLE_TRAP_IGNORE |
|
63 |
|
64 |
|
65 #else // RUBY_EXTERNAL_VARIANT |
|
66 // set of options to use in the internal development |
|
67 |
|
68 // Uncomment the following line to disable RUBY_DEBUGs. |
|
69 // This has no effect on RUBY_ERRORs |
|
70 //#define __RUBY_DEBUG_DISABLED |
|
71 |
|
72 // Uncomment the following line to get traces to C:\Logs\RubyTrace.log |
|
73 //#define __RUBY_DEBUG_TRACES_TO_FILE |
|
74 |
|
75 // Uncomment the following line to stop disable RUBY_ERRORs |
|
76 // Error print is always enabled in _DEBUG |
|
77 //#define RUBY_DISABLE_ERRORS |
|
78 |
|
79 // Uncomment the following line to disable extra output for RUBY_ASSERT_DEBUG |
|
80 // RUBY_ASSERT_DEBUGs will become usual __ASSERT_DEBUGs |
|
81 //#define RUBY_DISABLE_ASSERT_DEBUG |
|
82 |
|
83 // Uncomment the following line to disable automated function name printing |
|
84 //#define RUBY_DISABLE_FUNCTION_NAMES |
|
85 |
|
86 #define RUBY_DIDSPLAY_EVERYTHING_FOR_BLOCKL |
|
87 |
|
88 // Uncomment the following line to disable leave code printing in RUBY_TRAP_IGNORE |
|
89 // macro. It would make it equivalent to TRAP_IGNORE |
|
90 // #define RUBY_DISABLE_TRAP_IGNORE |
|
91 |
|
92 #endif // RUBY_EXTERNAL_VARIANT |
|
93 |
|
94 #endif // RUBYDEBUGCFG_H |
|
95 |
|
96 // End of File |