Salome HOME
Trace for Kill (PAL5281)
authorrahuel <rahuel@opencascade.com>
Wed, 12 May 2004 07:12:58 +0000 (07:12 +0000)
committerrahuel <rahuel@opencascade.com>
Wed, 12 May 2004 07:12:58 +0000 (07:12 +0000)
src/GraphExecutor/DataFlowExecutor_OutNode.cxx
src/Supervision/CNode_Impl.cxx

index ea2b3f07f152401bd6b107d1ce22b48e87627c4d..78b175c49300e874b797a50139ba512901968212 100644 (file)
@@ -1792,7 +1792,8 @@ bool GraphExecutor::OutNode::Kill() {
   State( SUPERV::KilledState ) ;
   if ( RetVal ) {
     MESSAGE("================================================================================") ;
-    MESSAGE( Graph()->Name() << " IS KILLED" ) ;
+    MESSAGE( Graph()->Name() << " IS KILLED" <<  theAutomaton->StateName( AutomatonState() ) << " EventQSize "
+             << EventQSize() ) ;
     MESSAGE("================================================================================") ;
   }
   else {
@@ -1800,7 +1801,7 @@ bool GraphExecutor::OutNode::Kill() {
     MESSAGE( Graph()->Name() << " IS NOT KILLED" ) ;
     MESSAGE("================================================================================") ;
   }
-  cdebug_out << "GraphExecutor::OutNode::Kill" << endl ;
+  cdebug_out << "GraphExecutor::OutNode::Kill " << RetVal << endl ;
   return RetVal ;
 }
 
index faac379eedd51ce9c68a14f97e3535276df7468a..89ee87e4b399f007090c9bc553d5e028a74f4e92 100644 (file)
@@ -1638,7 +1638,7 @@ bool CNode_Impl::ContainerKill() {
   return RetVal ;
 }
 bool CNode_Impl::Kill() {
-//  beginService( "CNode_Impl::Kill" );
+  beginService( "CNode_Impl::Kill" );
   bool RetVal = false ;
   GraphExecutor::DataFlow * _DataFlowExecutor = _DataFlowEditor->Executor() ;
   if ( _DataFlowExecutor ) {
@@ -1647,9 +1647,10 @@ bool CNode_Impl::Kill() {
     }
     else {
       RetVal = _DataFlowExecutor->Kill() ;
+      MESSAGE( "Graph execution was killed " << RetVal ) ;
     }
   }
-//  endService( "CNode_Impl::Kill" );
+  endService( "CNode_Impl::Kill" );
   return RetVal ;
 }
 bool CNode_Impl::KillDone() {