Change your code to the following:
void ClassC::protocolList(QList<Protocol*> **list)
{
qDebug() << Q_FUNC_INFO << "Enter";
(*list) = this->mProtocolList;
qDebug() << Q_FUNC_INFO << "Leave";
}
void ClassC::protocolList(QList<Protocol*> **list)
{
qDebug() << Q_FUNC_INFO << "Enter";
(*list) = this->mProtocolList;
qDebug() << Q_FUNC_INFO << "Leave";
}
To copy to clipboard, switch view to plain text mode
And run your program without a debugger. See if the statements get printed properly. Maybe there is some problem with the debugger itself (Qt Creator is known to work not very well with MSVC debugger).
Bookmarks