Summary


This chapter presented the best proactive programming techniques you can use to debug during coding. The best technique is to use assertions everywhere so that you gain control whenever a problem occurs. The SUPERASSERT.NET assertion code in Wintellect.Diagnostics.dll should help you narrow down problems without needing to get into a debugger at all. In addition to assertions, proper tracing and comments can make maintaining and debugging your code much easier for you and others. The more time you spend debugging your code during development, the less time you'll have to spend debugging it later and the better the quality of the final product.




Debugging Microsoft  .NET 2.0 Applications
Debugging Microsoft .NET 2.0 Applications
ISBN: 0735622027
EAN: 2147483647
Year: 2006
Pages: 99
Authors: John Robbins

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net