Is there a significant overhead associated with calling OutputDebugString in release build?
I had read in an article that OutPutDebugString internally does few interesting things:
Even if the debugger is not attached ( in release mode) there is significant cost involved in using OutputDebugstring with the usage of various kernel objects.
Performance hit is very evident if you write a sample code and test.