Debugging is the art of program flow error handling, where you track down errors that has prevented your code from fully executing. .NET has much improved the classic ASP way of Response.Writing to find and trap program errors and flow. To employ debugging you could do this:
- Application wide in your web.config file:
<system.web>
<compilation debug="true"/>
</system.web>
- Or locally and easier is by setting Debug to true in your page's @ Page Directive and also your user-control's @ Control Directive
Comments