Improve debugging.
This commit is contained in:
parent
a9d5801c37
commit
5763d8d9bb
2 changed files with 3 additions and 0 deletions
|
@ -308,6 +308,8 @@ public:
|
|||
rc = ::poll(&_pollFds[0], size + 1, (timeout - now)/1000);
|
||||
}
|
||||
while (rc < 0 && errno == EINTR);
|
||||
LOG_TRC("Poll completed with " << rc << " live polls "
|
||||
<< ((rc==0) ? "timeout" : ""));
|
||||
|
||||
// Fire the callback and remove dead fds.
|
||||
Poco::Timestamp newNow;
|
||||
|
|
|
@ -1318,6 +1318,7 @@ void DocumentBroker::dumpState()
|
|||
std::cerr << " jailed uri: " << _uriJailed.toString() << "\n";
|
||||
std::cerr << " doc key: " << _docKey << "\n";
|
||||
std::cerr << " num sessions: " << getSessionsCount() << "\n";
|
||||
std::cerr << " new sessions: " << _newSessions.size() << "\n";
|
||||
std::cerr << " last editable?: " << _lastEditableSession << "\n";
|
||||
std::cerr << " cursor " << _cursorPosX << ", " << _cursorPosY
|
||||
<< "( " << _cursorWidth << "," << _cursorHeight << ")\n";
|
||||
|
|
Loading…
Reference in a new issue