Change your code to the following:
Qt Code:
  1. void ClassC::protocolList(QList<Protocol*> **list)
  2. {
  3. qDebug() << Q_FUNC_INFO << "Enter";
  4. (*list) = this->mProtocolList;
  5. qDebug() << Q_FUNC_INFO << "Leave";
  6. }
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).