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


Please Help Members By Posting Answers For Below Questions

Describe Segmentation With Paging?

624


What is s2s tracking?

532


Explain the significance of routing? : asp.net mvc

528


What is cookieless session id explain in brief?

523


Which method is used to perform all validation at the page level?

528






How to Separate background image and front image from original picture....

552


Why do we use web config?

511


What is the difference between web.config and machine.config in ASP.NET?

588


What is view state management in asp net?

459


What is the application pool?

539


What is a session government?

495


What is the good practice to implement validations in aspx page?

626


Explain how asp.net different from asp?

551


Explain about asp.net state management?

606


Explain what is an assembly?

549