I got the following simple C++ code:
#include int main(void) { ::printf(\"\\nHello,debugger!\\n\"); }
And from WinDbg,
That is code that is inserted by the compiler when you build with runtime checking (/RTC). Disable those options and it should be clearer. /GZ could also be causing this depending on your VS version.