Watch out: DebugView (OutputDebugString) & Performance
Posted by: Darren Jefford,
on 03 Apr 2007 |
View original | Bookmarked: 0 time(s)
For developer level tracing the tracing classes held within the System.Diagnostics namespace are often used along with the Windows Sysinternals DebugView tool. In default configuration all trace will be output using the Win32 OutputDebugString function which DebugView can monitor.
This approach works extremely well, but you should be aware of the associated performance overhead. DebugView effectively acts as a debugger and hooks the OUTPUT_DEBUG_STRING_EVENT event, as a result your...