]> Creatis software - clitk.git/blobdiff - common/clitkDD.h
Do both OuputDebugString and standard output for DD on Windows
[clitk.git] / common / clitkDD.h
index f43db9d005d9ef9d98f4b6ca4dc66bb5713b8b66..c21bb815acbc080e97f3adfd9b844c934209292e 100644 (file)
@@ -29,6 +29,7 @@
     std::ostringstream ossDD; \
     ossDD << #a " = [ " << a << " ]" << std::endl; \
     OutputDebugString(ossDD.str().c_str()); \
+    std::cout << ossDD.str() << std::endl; \
   }
 #else
 # define DD(a) std::cout << #a " = [ " << a << " ]" << std::endl;std::cout.flush();