Skip to content

Commit 9cfe8c5

Browse files
committed
Document the conditional constants used in the project for easy reference when testing.
1 parent 9c59c43 commit 9cfe8c5

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

RubberduckBaseProject.csproj

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,18 @@
5959
<PropertyGroup Condition=" '$(Configuration)' == 'Debug'">
6060
<DebugType>full</DebugType>
6161
<Optimize>false</Optimize>
62-
<DefineConstants>DEBUG;TRACE</DefineConstants>
62+
<!-- Valid Constants used in the solution:
63+
LOG_COM_RELEASE // Records COM objects released when a safe COM wrapper has been disposed
64+
PRETTY_XML // Includes whitespace and formatting to serialized XML files for XmlComProjectSerializer
65+
REF_COUNT // Tracks the reported reference counts when acquiring/disposing COM objects
66+
THRISTY_DUCK // Outputs the message content from the message pump in VBENativeServices / SubclassingWindow
67+
THRISTY_DUCK_EVT // Outptus the events raised from the message pump in VBENativeServices / SubclassingWindow
68+
TRACE_COM_SAFE // Tracks the COM wrappers added & removed to the ComSafe and also allow serializing the contents of ComSafe
69+
TRACE_TYPEAPI // Tracks the methods called on the wrapped ITypeLib & ITypeInfo
70+
TRACE_COM_POINTERS // Tracks the ComPointer access & disposal
71+
TRACE_MARSHAL // Tracks the calls made through the RdMarshal class (useful for tracking all Marshal methods)
72+
-->
73+
<DefineConstants>DEBUG;TRACE;</DefineConstants>
6374
</PropertyGroup>
6475

6576
<PropertyGroup Condition=" '$(Configuration)' == 'Release'">

0 commit comments

Comments
 (0)