Closed pattacini closed 9 years ago
I've just tried to launch the old yarpview without any server running and no message appears. The Qt yarpview in the same situation writes on stdout "Error open ports". Shall I have to write this messages on Dialogs?
I think this is more than ok!
I checked on Windows, Visual Studio 10, Qt5.3, I get no error message when I run qtYARPview without nameserver.
I guess the message I should see is from this line:
qtyarpview.cpp:
ret= ptr_inputPort->open(_options.portName); if (!ret){ qDebug("Error: port failed to open, quitting."); return false; }
are this and similar error messages removed in release mode?
In theory qDebug() acts like a Trace(). If you use the preprocessor define QT_NO_DEBUG_OUTPUT the qDebug will be ignored for that build (debug or release) but if this define is not used, it should write everything. I'll give a try
closing this issue since it is reported in robotology/yarp
When qtyarpview is launched and the yarp server is not running, the program terminates without any warning message.