Can’t see Debug statements in DebugView?

|  Posted: May 24, 2007  |  Categories: General Technical

First of all to see debug statements inside DebugView you need to compile your assemblies in “Debug” mode. For optimization reasons if you compile your assemblies in “Release” mode all the System.Diagnostics.Debug.WriteLine statements will be ignored by the compiler and you won’t see any output in the DebugView.

When it comes to BizTalk project sometimes even though the tool bar will say the build is “Debug” as shown in the figure

debug process

When you actually look into the properties of the BizTalk project it may be configured for “Deployment”, which is equivalent to the “Release” build and it won’t emit any debug symbols.

configuration manager

So, in this case you need to set the configuration to “Development”, which is equivalent to “Debug” build.



Author: Saravana Kumar

Saravana Kumar is the Founder and CTO of BizTalk360, an enterprise software that acts as an all-in-one solution for better administration, operation, support and monitoring of Microsoft BizTalk Server environments.

Back to Top