ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
What are the differences between Trace and Debug?
 Question Submitted By :: Poojitha
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What are the differences between Trace and Debug?
Answer
# 1
trace allows us to view how the code executed in details.

Debug allows line by line exection..
 
Is This Answer Correct ?    0 Yes 0 No
Dasharatham
 
  Re: What are the differences between Trace and Debug?
Answer
# 2
Trace and Debug - There are two main classes that deal with
tracing - Debug and Trace. They both work in a similar way -
the difference is that tracing from the Debug class only
works in builds that have the DEBUG symbol defined, whereas
tracing from the Trace class only works in builds that have
the TRACE symbol defined. Typically this means that you
should use System.Diagnostics.Trace.WriteLine for tracing
that you want to work in debug and release builds, and
System.Diagnostics.Debug.WriteLine for tracing that you want
to work only in debug builds. 

Tracing is actually the process of collecting information
about the program's execution. Debugging is the process of
finding & fixing errors in our program. Tracing is the
ability of an application to generate information about its
own execution. The idea is that subsequent analysis of this
information may help us understand why a part of the
application is not behaving as it should and allow
identification of the source of the error.
 
Is This Answer Correct ?    0 Yes 0 No
Vinod Reddy
 
 
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
Explain current thinking around IClonable.  1
we can able to display a MessageBox in asp .net without using any script langages? ABC5
what is asp.net  9
What is SQL injection?  1
What is customer control and user control? Perot-Systems1
Can you explain what inheritance is and give an example of when you might use it?  1
What does assemblyinfo.cs file consist of? Accenture1
Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe  1
Can session variables be accessed from code-behind? Microsoft2
what is asp dotnet  1
Describe the difference between a Thread and a Process?  2
What are the types of assemblies and where can u store them and how a private assembly is used only by a single application, and is stored in that application's install directory (or a subdirectory therein)? Accenture1
What is boxing? How we can use it? NIIT2
What is boxing and unboxing ? Accenture6
How do you get records number from 5 to 15 from a dataset of 100 records? Syntax-Softtech1
What tags do you need to add within the asp:datagrid tags to bind columns manually  2
To match the two different controls which control would we use ?  1
what is view state? Satyam8
relacement of websevices in .net 3.0? Mind-Tree1
Which property on a Combo Box do you set with a column name, prior to setting the DataSource, to display data in the combo box?  1
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com