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 CEO of BizTalk360 | Serverless360 | Atomic Scope | Document360. Founder of multiple B2B products that solve the pain point of enterprise customers. Entrepreneur, Investor, and Technical enthusiast. Passionate about running and scaling a company in a profitable way with calculated risks.

Back to Top