When you think ASP, think...
Recent Articles
All Articles
ASP.NET Articles [1.x] [2.0]
ASPFAQs.com
Message Board
Related Web Technologies
User Tips!
Coding Tips
Search

Sections:
Book Reviews
Sample Chapters
Commonly Asked Message Board Questions
Headlines from ASPWire.com
JavaScript Tutorials
MSDN Communities Hub
Official Docs
Security
Stump the SQL Guru!
Web Hosts
XML Info
Information:
Advertise
Feedback
Author an Article
Technology Jobs



















internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers
ASP ASP.NET ASP FAQs Message Board Feedback ASP Jobs
Print this page.

Business Systems Analyst - Clearing - SQL Server - ASP - VB (IL)
Next Step Systems
US-IL-Chicago

Justtechjobs.com Post A Job | Post A Resume

Practice your debugging skills!


  • Back to Intermediate Developer's Tip Index
  • Next tip...

    As your ASP applications get more advanced and grow in size, little bugs start becoming very difficult to catch and fix! It is important to grow your debugging skills while you grow your coding skills! Here are some tips that will hopefully aid you in your debugging:

  • Use Response.Write's like there's no tomorrow! Don't be afraid to print out the contents of your variables at different times during the execution of the script. This helps tremendously! Also, think logically. Step through your code one line at a time, perhaps writing down on a piece of paper the current states of your variables, for loops, conditionals, etc.
  • Comment out code that you think might be causing an error. If you just comment out a line at a time until the error or problem goes away, simple induction tells you that the error last commented before the error disappeared was the error-causing line!
  • Simplify, man! If there is a ton of code, but you know the error or bug is within a small subsection of the rest of the source, cut the rest of the code out of the page for the time being just to clear everything up, removing the clutter. You can paste the non-offending code back in once you have trapped the error.
  • Here is a related article, that may help!

  • Debugging your ASP Scripts

  • Back to Intermediate Developer's Tip Index
  • Next Tip...


    Windows Internet Technology | ASP.NET [1.x] [2.0] | ASPMessageboard.com | ASPFAQs.com | Advertise | Feedback | Author an Article


  • The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers