Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

207 lines
8.0 KiB

  1. ;; --------------------------------------------------------------------
  2. ;; --------------------------------------------------------------------
  3. ;;
  4. ;; This file must be in Windows directory to take effect.
  5. ;;
  6. ;; To use, add up the flags that you want enabled (listed in the comments)
  7. ;; and then set the appropriate flag key to that value. If this
  8. ;; file is not found, then the flags will be assumed to have the value
  9. ;; listed as default.
  10. ;; NOTE TO DEVS: To change default behavior modify appropriate #define in
  11. ;; mars\lib\debug.cpp Also note change here.
  12. [MARSCORE]
  13. ; BreakFlags:
  14. ; 0x00000001 Break on ASSERTs BF_ASSERT
  15. ; 0x00000002 Break on TF_ERROR BF_ONTRACEERROR
  16. ; 0x00000004 Break on TF_WARNING BF_ONTRACEWARNING
  17. ; 0x00000008 Break on Leaks BF_LEAKS
  18. ; 0x00000010 Break on RIPS BF_RIPS
  19. ; 0x00000020 Break on script breaks BF_SCRIPT
  20. ; 0x00000040 Break on variable BF_VALIDATEVARS
  21. ; validation failures
  22. ; 0x00000080 Break on TraceResult BF_TRACERESULT
  23. ; failures
  24. ; 0x00000100 if BF_ASSERT is set, BF_POPUPASSERT
  25. ; prompt via messagebox
  26. ; whether or not to break
  27. ;
  28. ; Default: 0x0000001b (BF_ASSERT | BF_ONTRACEERROR | BF_LEAKS | BF_RIPS)
  29. ;
  30. ; NOTE: This setting will have no effect in retail builds.
  31. BreakFlags=0x0000001b
  32. ; TraceFlags:
  33. ; 0x0000000000000001 Always show message TF_ALWAYS
  34. ; 0x0000000000000002 This is an error cond. TF_ERROR
  35. ; 0x0000000000000004 This is a warning TF_WARNING
  36. ; 0x0000000000000008 Function Entry/Exit TF_FUNCENTER
  37. ; 0x0000000000000010 IUnknown Entry/Exit TF_PUNKENTER
  38. ; 0x0000000000000020 Show variable TF_VALIDATEVARS
  39. ; validation failures
  40. ; 0x0000000000000040 Show RIP messages TF_RIP
  41. ; 0x0000000000000080 Show TraceResults TF_TRACERESULT
  42. ; 0x0000000000000100 Show function name for TF_FUNCNAMES
  43. ; each trace (need symbols)
  44. ;
  45. ; 0x0000000000001000 Panel related messages TF_PANEL
  46. ; 0x0000000000002000 Place related messages TF_PLACE
  47. ; 0x0000000000004000 Passport Login messages TF_PPLOGIN
  48. ; 0x0000000000008000 TravelLog messages TF_TRAVELLOG
  49. ; 0x0000000000010000 Download Manager messages TF_DLMGR
  50. ; 0x0000000000020000 Topics messages TF_TOPICS
  51. ; 0x0000000000040000 XML Parsing messages TF_XMLPARSING
  52. ; 0x0000000000080000 MARS protocol/store msgs TF_PROT_STORE
  53. ; 0x0000000000100000 TF_DYNCONTENT
  54. ; 0x0000000000200000 TF_SCRIPT
  55. ; 0x0000000000400000 TF_PALETTE
  56. ; 0x0000000000800000 TF_UIACT_AND_KBD
  57. ; 0x0000000001000000 Memory usage stats TF_MEMUSAGE
  58. ; 0x0000000002000000 dhtml Behaviors TF_BEHAVIORS
  59. ; 0x0000000004000000 Notifications messages TF_NOTIFICATIONS
  60. ; 0x0000000008000000 Parental Controls system TF_PARENTALCONTROLS
  61. ; 0x0000000010000000 Mars logging TF_LOGGING
  62. ; 0x0000000020000000 IntelliForms TF_IFORMS
  63. ; 0x0000000040000000 Messenger TF_MESSENGER
  64. ;
  65. ; Default: 0x0000000000200047 (TF_ALWAYS | TF_ERROR | TF_WARNING |
  66. ; TF_RIP | TF_SCRIPT)
  67. TraceFlags=0x0000000000200047
  68. ; If either TF_FUNCENTER or TF_PUNKENTER is set, then TraceExcludeFiles and
  69. ; TraceIncludeFiles can be used to refine the files which will have FunctionTracing
  70. ; turned on. Note that if a TraceExcludeFiles entry is found, then the TraceIncludeFiles
  71. ; entry will be ignored. Write file names in ALL LOWERCASE. Full path from mars is
  72. ; only necessary if there are multiple files with the same name in different directories.
  73. ;
  74. ; TraceExcludeFiles=\marscore\panel.cpp;\marscore\external.cpp
  75. ; TraceIncludeFiles=\lib\debug.cpp
  76. ; ScriptTraceFlags
  77. ; 0x00000001 Always show message STF_ALWAYS
  78. ; 0x00000002 This is an error cond. STF_ERROR
  79. ; 0x00000004 This is a warning STF_WARNING
  80. ; 0x00000008 LogScriptEvent coverage messages in debug uicvg builds
  81. ;
  82. ; Default: 0x00000007 (STF_ALWAYS | STF_ERROR | STF_WARNING)
  83. ScriptTraceFlags=0x00000007
  84. ; ConsoleWidth
  85. ;
  86. ; Here you can set the number of characters in your debug output console. This is used in the
  87. ; character wrapping calculations for pretty output. If you hate the wrapping like *foolish tnoonan*
  88. ; then you can set this to a really large value to turn off the wrapping! Any value smaller than
  89. ; 73 characters will be read as 73 characters.
  90. ;
  91. ; Default: 80
  92. ConsoleWidth=80
  93. ; AtlTraceFlags
  94. ; (Application defined categories)
  95. ; 0x00000001 atlTraceUser
  96. ; 0x00000002 atlTraceUser2
  97. ; 0x00000004 atlTraceUser3
  98. ; 0x00000008 atlTraceUser4
  99. ; (ATL defined categories)
  100. ; 0x00000020 atlTraceGeneral
  101. ; 0x00000040 atlTraceCOM
  102. ; 0x00000080 atlTraceQI
  103. ; 0x00000100 atlTraceRegistrar
  104. ; 0x00000200 atlTraceRefcount
  105. ; 0x00000400 atlTraceWindowing
  106. ; 0x00000800 atlTraceControls
  107. ; 0x00001000 atlTraceHosting
  108. ; 0x00002000 atlTraceDBClient
  109. ; 0x00004000 atlTraceDBProvider
  110. ; 0x00008000 atlTraceSnapin
  111. ; 0x00010000 atlTraceNotImpl
  112. ;
  113. ; Default: 0x00000000
  114. AtlTraceFlags=0x00000000
  115. ; DebugOMFlags:
  116. ; 0x00000001 Enable the debug OM DF_OM_ENABLED
  117. ; functionality
  118. ; 0x00000002 Enable logging DF_OM_LOG
  119. ; 0x00000004 Enable the console spew DF_CON_ENABLED
  120. ; window
  121. ; 0x00000008 waits for a keypress DF_CON_WAITONEXIT
  122. ; before closing the
  123. ; console window
  124. ; 0x00000010 Also spew to StdOut DF_STDOUT
  125. ;
  126. ;
  127. ; Default: (DF_OM_ENABLED | DF_OM_LOG | DF_CON_ENABLED | DF_CON_WAITONEXIT)
  128. DebugOMFlags=0x0000000f
  129. [MARS]
  130. ; BreakFlags:
  131. ; 0x00000001 Break on ASSERTs BF_ASSERT
  132. ; 0x00000002 Break on TF_ERROR BF_ONTRACEERROR
  133. ; 0x00000004 Break on TF_WARNING BF_ONTRACEWARNING
  134. ;
  135. ; Default: 0x00000001 (BF_ASSERT)
  136. BreakFlags=0x00000001
  137. ; TraceFlags:
  138. ; 0x00000001 Always show message TF_ALWAYS
  139. ; 0x00000002 This is an error cond. TF_ERROR
  140. ; 0x00000004 This is a warning TF_WARNING
  141. ; 0x00000008 Function Entry/Exit TF_FUNCENTER
  142. ; 0x00000010 IUnknown Entry/Exit TF_PUNKENTER
  143. ; 0x00001000 Ignore other instances TF_OPENNEWPROCESS
  144. ;
  145. ; Default: 0x00000007 (TF_ALWAYS | TF_ERROR | TF_WARNING)
  146. TraceFlags=0x00000007
  147. ; ConsoleWidth
  148. ;
  149. ; Here you can set the number of characters in your debug output console. This is used in the
  150. ; character wrapping calculations for pretty output. If you hate the wrapping like *foolish tnoonan*
  151. ; then you can set this to a really large value to turn off the wrapping! Any value smaller than
  152. ; 73 characters will be read as 73 characters.
  153. ;
  154. ; Default: 80
  155. ConsoleWidth=80
  156. ; AtlTraceFlags
  157. ; (Application defined categories)
  158. ; 0x00000001 atlTraceUser
  159. ; 0x00000002 atlTraceUser2
  160. ; 0x00000004 atlTraceUser3
  161. ; 0x00000008 atlTraceUser4
  162. ; (ATL defined categories)
  163. ; 0x00000020 atlTraceGeneral
  164. ; 0x00000040 atlTraceCOM
  165. ; 0x00000080 atlTraceQI
  166. ; 0x00000100 atlTraceRegistrar
  167. ; 0x00000200 atlTraceRefcount
  168. ; 0x00000400 atlTraceWindowing
  169. ; 0x00000800 atlTraceControls
  170. ; 0x00001000 atlTraceHosting
  171. ; 0x00002000 atlTraceDBClient
  172. ; 0x00004000 atlTraceDBProvider
  173. ; 0x00008000 atlTraceSnapin
  174. ; 0x00010000 atlTraceNotImpl
  175. ;
  176. ; Default: 0x00000000
  177. AtlTraceFlags=0x00000000