Will NKDbgPrintfW be compiled to nop in release build?
Posted
by Johann Gerell
on Stack Overflow
See other posts from Stack Overflow
or by Johann Gerell
Published on 2010-03-19T10:20:53Z
Indexed on
2010/05/26
1:31 UTC
Read the original article
Hit count: 271
I know about and have used the macros DEBUGMSG
, RETAILMSG
, ERRORMSG
, that all take a condition parameter. For general formatted debug output, though, I want to use ::NKDbgPrintfW
directly and wonder if someone knows if it compiles to a nop in optimised release builds or if my own macro wrapper around it with #ifdef DEBUG
is still needed?
© Stack Overflow or respective owner