Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to automatically add breakpoints to all methods in a cpp file or whole project?
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved General and Desktop
debuggingdebuggdbdesktopbreak pointqtcreatorqt creatordocumentation
2 Posts 2 Posters 1.4k Views
  • 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 Offline
    T Offline
    Tusharh
    wrote on last edited by
    #1

    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
    0
    • T Tusharh

      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 Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @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
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved