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 typical session identifier?
What language does asp.net use?
Is asp.net easy to learn?
Where web.config file is used?
What is difference between cookies and cache?
Explain the different parts that constitute ASP.NET application?
What are the major built-in objects in ASP.NET?
What is csrf attack in asp.net?
What is the difference between abstract class vs interface? Can give me the real time examples?
1.can we add connection string in global.asax?????????? 2.what are the default files included when we create new web application????
Describe the .net base class library.
How do I force the dispose method to be called automatically, as clients can forget to call dispose method?
Differentiate between a hyperlink control and a linkbutton control.
What is data control in asp.net?
Describe Segmentation With Paging?