|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Writing Own Debug ClientIs there a way in C# to write my own debug client...
I want run creat an application that captures the Debug.w* messages much like the output window in visual studio. Thanks, Mike Michael Slattery schrieb:
> Is there a way in C# to write my own debug client... Hello Mike.> > I want run creat an application that captures the Debug.w* messages much > like the output window in visual studio. > > Thanks, > Mike Remember: this suggestion isn't proofed ... it's just my thought. As first you will need a class, which inherits "System.Diagnostics.TraceListener". There are allready some classes of this type, but i think, you have to write your own implementatiton. Next you can add a instance of this class to the listeners-collection with "System.Diagnostics.Debug.Listeners.Add (MyInstance)" This could do it allready. Greetings, Torsten. |
|||||||||||||||||||||||