Watching Debug Message ( qDebug usage )

In QT qDebug is compiled as some winapi function.

You can view it’s result using DebugView [Page]

Under Windows 2000, XP, Server 2003 and Vista DebugView will capture:

  • Win32 OutputDebugString
  • Kernel-mode DbgPrint
  • All kernel-mode variants of DbgPrint implemented in Windows XP and Server 2003
if (event->button() == Qt::LeftButton)
{
    qDebug("left down");
}

Leave a comment