Tuesday, April 14, 2009

Difference between Trace and Debug Class !

Dev Palmistry

Trace and Debug classes :

Fortunately, you do not have to step through an application line by line to figure out what is happening.

The Systems.Diagnostics namespace includes Trace and Debug classes.

These two classes (which are essentially identical) include a number of static methods that can be used to cause your code to gather information about code-execution paths, code coverage, and even performance profiling. Both classes also provide an Assert method that checks for a condition and displays a message if the condition is false.


Tracing : Tracing is actually the process of collecting information about the program's execution.



Debug : Debugging is the process of finding & fixing errors in our program.



What’s the difference between the Debug class and Trace class?

Documentation looks the same. Use Debug class for debug builds, use Trace class for both debug and release builds.

----------------------------------------------------------------------------------------
Please Give a Glance......
dev-palmestry.blogspot.com/
of this blog.

----------------------------------------------------------------------------------------

8 comments:

jamos jhalla said...

MAY GOD BLESS THEE BAISAAKEE KI KHUSHIYAAN TROUGHOUT THE YEAR AND REMOVE PAIN,SORROW OF LOVEBLE LOVE.
JHALLEVICHAR.BLOGSPOT.COM

Harsh said...

nice article dev sahab

Anonymous said...

Hey I'd like to thank you for such a terrific quality site!
Just thought this would be a nice way to make my first post!

Sincerely,
Sage Brand
if you're ever bored check out my site!
[url=http://www.partyopedia.com/articles/clifford-party-supplies.html]clifford Party Supplies[/url].

Anonymous said...

Hello. My wife and I bought our house about 6 months ago. It was a foreclosure and we were able to get a great deal on it. We also took advantage of the 8K tax credit so that definitely helped. We did an extensive remodeling job and now I want to refinance to cut the term to a 20 or 15 year loan. Does anyone know any good sites for mortgage information? Thanks!

Mike

Anonymous said...

Nice post and this fill someone in on helped me alot in my college assignement. Say thank you you as your information.

Anonymous said...

hi there, my name is Eva.

found this website and read some great discussion and feedback so decided to join

i am happy to help others and offer advice where possible :)

Anonymous said...

Nice answers

Anonymous said...

"You possess a really fascinating blog. Too many blogs that I see now don't truly provide something that I'm interested in, but I am definately interested in this one. Just thought that I'd pass that message on. "

--------------------------------------------
my website is
http://shirtsshirt.net

Also welcome you!