Return to Website   
Quantum Leaps Discussion Forum

Search the Forum for answers or post your questions to the
Quantum Leaps community



Return to Website

  Reply
  Forum

Subject:   QSPY fail after QF::run()
Name:   Meaghan Zorij
Date Posted:   Jul 1, 08 - 4:56 PM
Email:   mzorij@gmail.com
Message:   I am trying to use QSPY with my project for the first time, but I'm having an issue. It seems as though I get QSPY data during all of the active objects' initialization. However, after the QF::run() function is called, there is no longer any QSPY information about any events, state transitions or memory pools. It seems like I'm missing a step, but I'm not really sure what it is. Below is basically the startup code that I'm using.

void projectStartup()
{
QF::init();
QS_INIT("10.1.1.15:6001");
QS_FILTER_IN(QS_ALL_RECORDS);

// create / initialize all the active objects
startUI_AO();
startSCHD_AO();
startTASK_AO();

QF::run();
}

Note that QS::onStartup(...) function is identical to that used in the DPP example for Linux, which just creates a socket. Again, I am getting initial data at the QSPY host application that includes all of the subscriptions that each of the active objects subscribe to. However, it seems like once the QF::run call is made, I no longer get anything on the socket.

If anyone sees what step I am missing or knows another step that I need to complete in order for things to work correctly, I would appreciate the help.

Thanks!
Replies:    
Re: QSPY fail after QF::run() by Miro Samek · Jul 1, 08 - 6:13 PM
Re: QSPY fail after QF::run() by Meaghan Zorij · Jul 1, 08 - 6:22 PM
Re: QSPY fail after QF::run() by Miro Samek · Jul 2, 08 - 8:34 AM
Re: QSPY fail after QF::run() by Meaghan Zorij · Jul 2, 08 - 6:33 PM


  Reply
  Forum


powered by Powered by Bravenet bravenet.com