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 server side routing?
What is a web api endpoint?
If you are using two select queries and retrieving data. how do you access second query's result set using data reader?
What is the use of worker process in asp.net?
How can we register exception filter globally?
How do you sign out from forms authentication?
Any disadvantages in Dataset and in reflection ?
What is web api config?
Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc
Can you explain page lifecycle in net?
What is viewstate? What does the “enableviewstate” property do?
When using the Pager object, inorder to know which page to go, which property you have to set to grid?
Where web.config file is used?
Where viewstate value is stored in asp.net?
Explain server-side scripting and client-side scripting.