ASP.NET tracing enables you to watch diagnostic information about a single request for an ASP.NET page. ASP.NET tracing enables you to follow a page's execution path, display diagnostic information at run time, and debug your application. It creates an axd file like trace.axd in main project folder.
You can enable tracing application level in Web.config
  1. <configuration>  
  2.   <system.web>  
  3.     <trace enabled="true" requestLimit="40" localOnly="false" />  
  4.   system.web>  
  5. configuration>  
or page level 
  1. <%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master"  
  2. AutoEventWireup="true" CodeFile="Default.aspx.cs"  
  3. Inherits="chat_Default" Trace="true" %>  
You can custom tracing info in code-behind like below:
Trace.Warn(“Custome Message”, “Warn Link Button clicked”);
Follow below link to know more:
 
http://www.codeproject.com/Articles/82290/Step-by-Step-Guide-to-Trace-the-ASP-NET-Applicatio
http://www.c-sharpcorner.com/uploadfile/abhikumarvatsa/tracing-in-Asp-Net/