From fbdfde3b1cc14dc21a0cdfee08c95d783dc2b998 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Sim=C3=B5es?= Date: Thu, 4 May 2017 16:56:23 +0100 Subject: [PATCH] Add code to output to VS console (#290) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: José Simões --- src/CLR/Diagnostics/Info.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/CLR/Diagnostics/Info.cpp b/src/CLR/Diagnostics/Info.cpp index 25379a6a9c..7af355ac98 100644 --- a/src/CLR/Diagnostics/Info.cpp +++ b/src/CLR/Diagnostics/Info.cpp @@ -244,6 +244,10 @@ int CLR_Debug::PrintfV( const char *format, va_list arg ) Emit( buffer, (int)iBuffer ); +#if defined WIN32 + OutputDebugStringA(buffer); +#endif + return (int)iBuffer; }