More diagnostic output, better format, to "diag.txt".

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8609 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2018-04-11 15:26:43 +00:00
parent 62a6ab86a8
commit 5307289ef8

View File

@ -7744,7 +7744,11 @@ void MainWindow::foxTest()
QFile f("steps.txt");
if(!f.open(QIODevice::ReadOnly | QIODevice::Text)) return;
QFile fdiag("diag.txt");
if(!fdiag.open(QIODevice::WriteOnly | QIODevice::Text)) return;
QTextStream s(&f);
QTextStream sdiag(&fdiag);
QString line;
QString t;
QString msg;
@ -7791,7 +7795,12 @@ void MainWindow::foxTest()
foxRxSequencer(msg,hc1,rptRcvd);
}
if(line.contains("Tx1:")) foxTxSequencer();
qDebug() << "aa" << m_maxQSOs << m_houndQueue.count() <<m_foxQSOinProgress.count()
<< m_foxRR73Queue.count() << line.mid(37).trimmed();
t.sprintf("%3d %3d %3d %3d %3d %3d ",m_maxQSOs,m_houndQueue.count(),
m_foxQSOinProgress.count(),m_foxRR73Queue.count(),m_foxQSO.count(),
m_loggedByFox.count());
sdiag << t << line.mid(37).trimmed() << "\n";
}
}