]> Creatis software - clitk.git/commitdiff
Do both OuputDebugString and standard output for DD on Windows
authorSimon Rit <simon.rit@creatis.insa-lyon.fr>
Fri, 16 Sep 2011 16:22:02 +0000 (18:22 +0200)
committerSimon Rit <simon.rit@creatis.insa-lyon.fr>
Fri, 16 Sep 2011 16:22:02 +0000 (18:22 +0200)
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();