Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to automatically add breakpoints to all methods in a cpp file or whole project?
Tusharh last edited by
I have downloaded a open source Qt project & I want to understand it by debugging. I would like to add break points to all methods present in a file or if possible to all files in the project.
Is there any shortcut command/setting by which I can add break points in one go instead of manually clicking in every method?
koahnig last edited by
Hi and welcome to devnet
A featrure as you request may be latest with larger projects too much for the debugger to handle.
The closest to get such a behaviour is to use F11 and Shift+F11. F11 will enter every possible method and Shift+F11 will help you to run the remainder of the method. IMO sufficient enough to get a really detailed anaylsis of source code.