Skip to content

Commit 92a9c80

Browse files
author
Barton Cline
committed
# Move DEBUG_PRINT to the Properties->Build page of the DebugWin Configuration. #
1 parent de5492d commit 92a9c80

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

pythonnet/src/clrmodule/ClrModule.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,8 @@
2727
// set to Python.Runtime's public key token. (sn -T Python.Runtin.dll)
2828
#define USE_PYTHON_RUNTIME_PUBLIC_KEY_TOKEN
2929

30-
// If DEBUG_PRINT is defined, a few System.Console.WriteLine calls are made
31-
// to indicate what's going on during the load...
32-
#define DEBUG_PRINT
30+
// If DEBUG_PRINT is defined in the Build Properties, a few System.Console.WriteLine
31+
// calls are made to indicate what's going on during the load...
3332
//============================================================================
3433

3534

pythonnet/src/clrmodule/clrmodule.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'DebugWin|x86'">
6363
<DebugSymbols>true</DebugSymbols>
6464
<OutputPath>bin\x86\DebugWin\</OutputPath>
65-
<DefineConstants>DEBUG;TRACE</DefineConstants>
65+
<DefineConstants>TRACE;DEBUG;DEBUG_PRINT</DefineConstants>
6666
<DebugType>full</DebugType>
6767
<PlatformTarget>x86</PlatformTarget>
6868
<ErrorReport>prompt</ErrorReport>

0 commit comments

Comments
 (0)