Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
breakpoint in some method not hit as expected.
guyuming last edited by guyuming
i am new to qt. I cloned project KRDC and checked out to v19.12.3 ([https://github.com/KDE/krdc/releases/tag/v19.12.3](link url))
the code works well in debug mode, i mean, i can remote connect to remote desktop.
however, i cannot step into the RdpViewFactory::createview method as shown on screenshot below, and i had set a breakpoint in RdpViewFactory::createview method, but the breakpoint was not hit.
when debug stops at line 288 and i try steps into, it goes to line 289. You can see at right of the picture that the type of factory is RdpViewFactory. what can be wrong?
andr last edited by
One common reason for that is that there is no debug information available for the code implementing the RdpViewFactory::createview method, either because it was not compiled with debug info (e.g. -g flag missing on the command line), or it was stripped later.