Tuesday, May 31, 2005

Tracing in dot NET

Well, I finally implemented instrumentation use the Trace class as well the Debug class in an older Winforms app that I am updating. It is a good idea to do so. Though I do have a few questions. Let's see...
RE .Assert vs .Write - I wish there were a way to write a single command that would log a message, AND under the conditions of Assert Failue, through up the warning message. It appears that you have to write two separate statements, and if the Assert is thrown you get its message along with the trace logging message.

1 Comments:

Anonymous Anonymous said...

Great blog good touch about winxp tips
I been upgrading my site at winxp tips

5:56 PM  

Post a Comment

<< Home