Chapter 26. Debugging and Performance Tuning

function OpenWin(url, w, h) { if(!w) w = 400; if(!h) h = 300; window.open(url, "_new", "width=" + w + ",height=" + h + ",menubar=no,toobar=no,scrollbars=yes", true); } function Print() { window.focus(); if(window.print) { window.print(); window.setTimeout('window.close();',5000); } }
Team-Fly    

Special Edition Using Microsoft® Visual Basic® .NET
By Brian Siler, Jeff Spotts
Table of Contents
Part VI:  Advanced Programming Topics


In this chapter

Working with Exceptions in Visual Studio

Writing Code to Handle Exceptions

Monitoring Application Performance

Measuring Execution Time

Exercise: Using Performance Counters

In Chapter 5, "Visual Basic Building Blocks," we introduced the concept of debugging, or getting the mistakes out of your program. In this chapter we will explore the subject further by describing some debugging techniques, such as handling exceptions and logging errors. We will also explore the concept of performance monitoring, which can be used to increase the efficiency of your program.


    Team-Fly    
    Top
     



    Special Edition Using Visual Basic. NET
    Special Edition Using Visual Basic.NET
    ISBN: 078972572X
    EAN: 2147483647
    Year: 2001
    Pages: 198

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