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       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
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
 SharePoint interview questions  SharePoint 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 ?    1 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 ?    3 Yes 0 No
Vinod Reddy
 
 
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
For Web services where you can browse on the Internet?  1
Way of updating a table other than stored procedure and hard coded query?  2
You need to retrieve data from a Microsoft SQL Server 2000. Currently you are using an oleDbConnection object to connect to the database server. You need to be able to retrieve the data from the database server in XML format. Which approach would be the most efficient? Select all that apply. Each answer constitutes part of the whole answer. a) Change to the SQL .NET provider. b) Use the ExecuteXmlReader() method of the xxxCommand object c) Use the DOM to create the XML document. d) Use the XmlDocument.Load() method to create the XML Document. Syntax-Softtech1
Describe the role of inetinfo.exe, aspnet_isapi.dll andaspnet_wp.exe in the page loading process? Perot-Systems1
What is the importence of the INTERFACE? but not the inheritence concept?and why we r declaring the empty methods in that? we can directly implements with in the class know? Tell me the importence?  2
how to do pakaging nd deployment  1
how to update data set? TCS3
Where does the Web page belong in the .NET Framework class hierarchy?  1
How do you handle unhandled exceptions in ASP.NET?.  3
How many types are there session TCS5
How can i include both C# and vb.net classes in same solution?  2
Where do you store the information about the user?s locale? Visual-Soft1
can we call webservice in Html form? Microsoft1
I have been asked in an interview What is your LOC(Line of Code)What will be the probable answer for that HCL1
What property is used on the datatable to indicate a conflict after an update? a) HasConflict b) HasError c) HasCollision d) HasDataError Syntax-Softtech1
How can you change a Master page dynamically in which event of page life cycle? Fulcrum-Logic2
True or False: A Web service can only be written in .NET?  4
Differentiate between Server Transfer and Response Redirect? DELL2
Explain authentication levels in .net ?  3
What is the difference between <%#%> and <%=%>? IBS4
 
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