34 using YACS::BASES::Thread;
42 void **argT=(
void **)arg;
45 myExec->
RunB(myProc, 2);
50 main (
int argc,
char* argv[])
54 cerr <<
"usage: " << argv[0] <<
" schema.xml" << endl;
58 RuntimeSALOME::setRuntime();
66 std::ofstream
f(
"toto");
71 void **args=
new void *[2];
72 args[0]=(
void *)executor;
76 cerr <<
"enter a char to start" << endl;
82 cerr <<
"executorState: " << executorState << endl;
83 cerr <<
"command display=d step=s : ";
91 cerr <<
"resumeCurrentBreakPoint(): " << res << endl;
101 cerr <<
"commande inconnue" << endl;
106 std::ofstream g(
"titi");
117 catch (
const std::ios_base::failure&)
122 catch(CORBA::SystemException& ex)
127 CORBA::TypeCode_var tc = tmp.type();
128 const char *
p = tc->name();
131 DEBTRACE(
"Caught a CORBA::SystemException. " <<p);
135 DEBTRACE(
"Caught a CORBA::SystemException. " << tc->id());
139 catch(omniORB::fatalException& fe)
141 DEBTRACE(
"Caught omniORB::fatalException: file: "<<fe.file()<<
" line: "<<fe.line()<<
" msg: "<<fe.errmsg());
146 DEBTRACE(
"Caught unknown exception.");