Friday, 6 March 2009

VB.Net Tracing

Use Trace is very much like Debug, but it allows you to  tracing on the client machine without visual studio.

I have created a class trace which can be used in any project, and writes basic information about the application and the user away to a config file.
This should be include in a project, and a start statement should be called during the application load.
The trace flag should be set to on in the project options.
Then anywhere in the application where I want to check a value, put Trace.WrineLine("")

No comments: