Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Debugging / tracking Qt class question
AnneRanch last edited by
I am stepping thru my source code using standard debugging.
If I put a breakpoint @ line implementing QBluetoothDeviceDiscoveryAgent , the process stops but if select "step into" I end up on next line of code.
Is there a way to "step into " and continue stepping thru Qt class ?
I know how to "track" in Qt source code .
I am not sure how or if "Start and debug external application" would work .
qDebug(QT_BT) << "DEBUG Create a discovery agent and connect to its signals"; QBluetoothDeviceDiscoveryAgent *discoveryAgent_DEBUG = new QBluetoothDeviceDiscoveryAgent(this); connect(discoveryAgent, SIGNAL(deviceDiscovered(QBluetoothDeviceInfo)), this, SLOT(deviceDiscovered(QBluetoothDeviceInfo)));
For a long-time developer it should be clear that without debug informations the debugger can not step into a function. So link against Qt debug libs (on windows) or make sure the debug information are available to the debugger so it can do what you want.