What is the difference between Trace and Debug?
Answer Posted / rajeev.varshney5
Trace & Debug :
Debug : When the Developer works on the Project and Solve the Problem of Error at the perticuler time by the help of F10 & F11. and We can say that Debugging is the process of
finding & fixing errors in our program.
Tracing : Tracing is the process of collecting Information of program's execution. Or We can say that tracing is used to see the Diagnostic Information (Troubleshooting Information) that contains the Session, Execution time,Http..etc...
Tracing is two types..
1)Page Leve Tracing.
2) Application Level Tracing.
1) Page Level Tracing : It contain the Diagonstic information of a perticular page..it can be done by the help of Trace=true;
if(Request.QueryString["trace']=="true")
{
Trace.IsEnabled=True;
}
2) Application Level : When we don't have information that Which page contains the Error then We used Application Level Tracing.
It contains the following Property.
1) enabled=True;
2) pageOutput="true"
3)RequestLimit=10
4)TraceMode=SortByTime
5) LocalOnly=false;
6) MostRecent=false;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the used of "ispostback" property?
Mention the execution process for managed code?
How to implement role based security in asp.net mvc? : Asp.Net MVC
How many types of validation are there?
What are Caching techniques in .NET
What are web beacons used for?
Define asp.net caching?
which one is more flexibility and reliability and durability asp.net (VS)php which one is best and which one we do nice to create dynamic websites
Define tracing.
What is the typical session identifier?
Define resource files.
Explain global assembly cache.
Explain advantages of caching?
Define static constructor?
Explain authorization levels in .net ?