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.

Nandri!

Saravana

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.

One Platform Operations, Monitoring and Analytics Software
BizTalk360

microsoft biztalk

Learn more

Over 500 customers across 30+ countries depend on BizTalk360

ServiceBus360

Azure Composite Application

Learn more

Start manage and monitor your Azure Services in minutes

One Platform - Operations, Monitoring and Analytics Software
BizTalk360

microsoft biztalk

Learn more

Over 500 customers across 30+ countries depend on BizTalk360

One Platform - Operations, Monitoring and Analytics Software
ServiceBus360

Azure Composite Application

Learn more

Start manage and monitor your Azure Services in minutes

Back to Top