Someone Else
Someone Else

Reputation: 2803

Visual Studio 2010 - Debug Output

Why when I change build to debug x86 rather than "Any CPU", do all the calls to System.Diagnostics.Debug.Print() get skipped? I'm using a 64bit machine. Exception output still shows.

Upvotes: 0

Views: 448

Answers (2)

Alois Kraus
Alois Kraus

Reputation: 13535

No, they are only skipped when you compile in Release mode.

Upvotes: 0

leppie
leppie

Reputation: 117220

You probably changed to a 'Release' build too, and hence DEBUG is not defined.

Upvotes: 2

Related Questions