I am attempting to figure out how to print to the debugger console/log in a Visual Studio 11 C++ Metro app. I have tried a number of methods to print to the log in a C++ Metro application (cout, Windows.System.Diagnostics, the documentation on MSDN and the Metro development site).
How do I print to the console?
OutputDebugString
:
Sends a string to the debugger for display.
Some of the Windows API is usable from a Metro style app, including this function. You can find a list of other diagnostic-related Windows API functions available from Metro style apps on the Windows Dev Center.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With