0027772: Foundation Classes - define Standard_Boolean using C++ type "bool" instead...
[occt.git] / src / Draw / Draw_Debug.cxx
index 2bf952e..87407e7 100644 (file)
@@ -13,7 +13,7 @@
 // Alternatively, this file may be used under the terms of Open CASCADE
 // commercial license or contractual agreement.
 
-#include <DBRep.hxx>
+#include <Draw.hxx>
 
 #include <Standard_ErrorHandler.hxx>
 #include <Standard_Failure.hxx>
@@ -33,6 +33,7 @@ Standard_EXPORT const char* Draw_Eval (const char *theCommandStr)
   try {
     OCC_CATCH_SIGNALS
     theCommands.Eval (theCommandStr);
+    cout << theCommands.Result() << endl;
     return theCommands.Result();
   }
   catch (Standard_Failure)