Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    How to automatically add breakpoints to all methods in a cpp file or whole project?

    General and Desktop
    debugging debug gdb desktop break point qtcreator qt creator documentation
    2
    2
    1143
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      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?

      K 1 Reply Last reply Reply Quote 0
      • K
        koahnig @Tusharh last edited by

        @Tusharh
        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.

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply Reply Quote 0
        • First post
          Last post