January 2008
Beginner
352 pages
9h 6m
English
When monitoring your application, you need to understand what issues to look for and how to look for them. The following examples describe issues that many applications face, including what to look for and how to debug them.
In Example 13-1, I have provided sample code from a Windows application I wrote to demonstrate using Task Manager and Visual Studio 2008 to create, debug, and validate both memory- and CPU-related performance and application issues.
Example 13-1. Windows application CPU and memory sample code for debugging demonstration.
Imports System.Threading Imports System.Net.Sockets Public Class MemoryAndCPU Private m_CPUThread As Thread = Nothing Private m_ThreadsThread As Thread = Nothing ...
Read now
Unlock full access