Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

XTrace.cs - C# trace with printf formatting

, 6 Mar 2010 CPOL
XTrace.cs provides printf-style formatting and other useful trace extensions. Module name, line number, and thread id are automatically included in the trace output. Double-clicking the trace line in the Output Window takes you directly to the source file and line in the editor.



This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Hans Dietrich
Software Developer (Senior) Hans Dietrich Software
United States United States
I attended St. Michael's College of the University of Toronto, with the intention of becoming a priest. A friend in the University's Computer Science Department got me interested in programming, and I have been hooked ever since.
Recently, I have moved to Los Angeles where I am doing consulting and development work.
For consulting and custom software development, please see

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.141223.1 | Last Updated 6 Mar 2010
Article Copyright 2010 by Hans Dietrich
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid