.NET Tracing and Debugging

Who do you need to produce a temporary message to a label on a form? for tracing?
 
You can use .NET Trace or Debug classes to write to a Trace/Debug listener that you don’t know yet, you do not even know if there is a registered listener or not!! Any part of your applicaton (commonly the presentation or testing layer) can register Trace/Debug listeners to listen for Trace/Debug messages, these listeners can write messages they recieve to files or just display messages in the Output Window of VS
 
See this page for a very short example:
Advertisements

About أحمد مصطفى السيد

مهندس برمجيات
This entry was posted in برمجة. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s