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 * %version: 3 % |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 #ifndef RUBYDEBUGCFG_H |
|
22 #define RUBYDEBUGCFG_H |
|
23 |
|
24 |
|
25 #include <e32cmn.h> // TLitC |
|
26 #include <e32def.h> // _LIT |
|
27 |
|
28 #include "rubydebugconfigselector.h" |
|
29 |
|
30 // Common settings |
|
31 // Is printed at the beginning of the line |
|
32 _LIT( __K_RUBY_HEADER, "[<VCC>] "); |
|
33 |
|
34 // Is printed after __KRUBY_HEADER for the error messages |
|
35 _LIT( __K_RUBY_ERROR, "[Error!] "); |
|
36 |
|
37 |
|
38 #if defined(RUBY_EXTERNAL_VARIANT) && defined(__WINS__) |
|
39 // set of options to use when the project is released to the customers |
|
40 |
|
41 // Uncomment the following line to disable RUBY_DEBUGs. |
|
42 // This has no effect on RUBY_ERRORs |
|
43 //#define __RUBY_DEBUG_DISABLED |
|
44 |
|
45 // Uncomment the following line to get traces to C:\Logs\RubyTrace.log |
|
46 //#define __RUBY_DEBUG_TRACES_TO_FILE |
|
47 |
|
48 // Uncomment the following line to stop disable RUBY_ERRORs |
|
49 // Error print is always enabled in _DEBUG |
|
50 //#define RUBY_DISABLE_ERRORS |
|
51 |
|
52 // Uncomment the following line to disable extra output for RUBY_ASSERT_DEBUG |
|
53 // RUBY_ASSERT_DEBUGs will become usual __ASSERT_DEBUGs |
|
54 #define RUBY_DISABLE_ASSERT_DEBUG |
|
55 |
|
56 // Uncomment the following line to disable automated function name printing |
|
57 //#define RUBY_DISABLE_FUNCTION_NAMES |
|
58 |
|
59 //#define RUBY_DIDSPLAY_EVERYTHING_FOR_BLOCKL |
|
60 |
|
61 // Uncomment the following line to disable leave code printing in RUBY_TRAP_IGNORE |
|
62 // macro. It would make it equivalent to TRAP_IGNORE |
|
63 // #define RUBY_DISABLE_TRAP_IGNORE |
|
64 |
|
65 |
|
66 #else // RUBY_EXTERNAL_VARIANT |
|
67 // set of options to use in the internal development |
|
68 |
|
69 // Uncomment the following line to disable RUBY_DEBUGs. |
|
70 // This has no effect on RUBY_ERRORs |
|
71 //#define __RUBY_DEBUG_DISABLED |
|
72 |
|
73 // Uncomment the following line to get traces to file defined in rubydegu.cpp |
|
74 #define __RUBY_DEBUG_TRACES_TO_FILE |
|
75 |
|
76 // Uncomment the following line to stop disable RUBY_ERRORs |
|
77 // Error print is always enabled in _DEBUG |
|
78 #define RUBY_DISABLE_ERRORS |
|
79 |
|
80 // Uncomment the following line to disable extra output for RUBY_ASSERT_DEBUG |
|
81 // RUBY_ASSERT_DEBUGs will become usual __ASSERT_DEBUGs |
|
82 #define RUBY_DISABLE_ASSERT_DEBUG |
|
83 |
|
84 // Uncomment the following line to disable automated function name printing |
|
85 //#define RUBY_DISABLE_FUNCTION_NAMES |
|
86 |
|
87 //#define RUBY_DIDSPLAY_EVERYTHING_FOR_BLOCKL |
|
88 |
|
89 // Uncomment the following line to disable leave code printing in RUBY_TRAP_IGNORE |
|
90 // macro. It would make it equivalent to TRAP_IGNORE |
|
91 // #define RUBY_DISABLE_TRAP_IGNORE |
|
92 |
|
93 #endif // RUBY_EXTERNAL_VARIANT |
|
94 |
|
95 #endif // RUBYDEBUGCFG_H |
|
96 |
|
97 // End of File |
|