ASP.NET
  Home arrow ASP.NET arrow ASP.NET 3.5 Debugging Using Visual Web Dev...
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Silverlight  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
ASP Web Hosting  
ASP.NET Web Hosting 
Windows Web Hosting
 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ASP.NET

ASP.NET 3.5 Debugging Using Visual Web Developer Express 2008
By: Codex-M
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 4
    2010-03-11

    Table of Contents:
  • ASP.NET 3.5 Debugging Using Visual Web Developer Express 2008
  • What can be debugged, and how?
  • A debugging example
  • Executing and Managing the Debugging Process

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    ASP.NET 3.5 Debugging Using Visual Web Developer Express 2008


    (Page 1 of 4 )

    One of the most important features in Visual Web Developer Express 2008 in developing ASP.NET 3.5 websites is the debugging feature. Having a debugger is important in troubleshooting source code and application-related problems. It will save you a lot of time if you encounter and fix problems during the design and testing stage. This article is all about basic debugging in ASP.NET using Visual Web Developer Express; its information will provide you with an important tool for designing and creating ASP.NET websites.

    Activating the Debugger

    Okay, before you can start learning how to use this feature, you will need to load a project into your Visual Web Developer Express. For the purpose of this tutorial, you will be using simple ones first, like the ASP.NET web application to compute the area of the circle discussed in a previous tutorial. All you need to do is create that project in your own Visual Web Developer Express 2008 by creating and copying the source code discussed in the tutorial.

    Once you have completely created the project, view it in the browser without using the debugging feature first. The form should look like the screen shot below:

    Try entering any value of the radius, and then click "Compute area of the circle." You should see a result without any error. Okay, once you have done that, follow the steps below:

    1. Using Visual Web Developer Express, go to Debug and click Start Debugging. Since this is the first time you'll be enabling debugging, a warning should appear like the one shown below:

    Just click OK and let Visual Web Developer Express modify the web.config file. However, be warned that once the website is deployed to a hosting production environment, debugging should be disabled in the web.config. Details of this procedure will be discussed later.

    After this, if you do not see any further errors, the debugger has been successfully activated. You can see the debugger window below the Design, Split and Source tab.

    Also, activating it causes the project to be launched to the web browser automatically.

    More ASP.NET Articles
    More By Codex-M


     

    ASP.NET ARTICLES

    - ASP.NET 3.5: User Access Rules
    - ASP.NET 3.5: Creating Role Based Security wi...
    - ASP.NET 3.5 Role Based Security and User Aut...
    - Canonicalizing DotNetNuke URLs in ASP.NET 3.5
    - ASP.Net 3.5: User Account Creation for Your ...
    - ASP.NET 3.5 Basic User Account Management
    - Generate Dynamic Title Tag based on QueryStr...
    - Add a Blog Module in DotNetNuke
    - ASP.NET 3.5 Basic Navigation Controls
    - Create ASP.NET 3.5 Sitemap XML for Navigatio...
    - Completing Basic DotNetNuke Website Developm...
    - DotNetNuke Website Development in ASP.NET 3.5
    - ASP.NET Querystring: Basic Dynamic URL Forma...
    - InsertItemTemplate FormView Example in ASP.N...
    - Using the FormView Web Control in ASP.NET 3.5





    © 2003-2010 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek