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
Describe Segmentation With Paging?
What is s2s tracking?
Explain the significance of routing? : asp.net mvc
What is cookieless session id explain in brief?
Which method is used to perform all validation at the page level?
How to Separate background image and front image from original picture....
Why do we use web config?
What is the difference between web.config and machine.config in ASP.NET?
What is view state management in asp net?
What is the application pool?
What is a session government?
What is the good practice to implement validations in aspx page?
Explain how asp.net different from asp?
Explain about asp.net state management?
Explain what is an assembly?