Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. how "reverse debug" ? ( call hierarchy ? )
Forum Updated to NodeBB v4.3 + New Features

how "reverse debug" ? ( call hierarchy ? )

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 2 Posters 404 Views 3 Watching
  • 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.
  • A Offline
    A Offline
    Anonymous_Banned275
    wrote on 23 Oct 2023, 15:00 last edited by Anonymous_Banned275
    #1

    EDIT
    I think "call hierarchy" is the ticket...
    But it is grayed out in edit options...

    How do I enable it?

    I am sure I asked this before, so do not get offended by lack of old fart memory.

    When I set a breakpoints in function - how do I "go back " to where the function was called from ?
    I believe it is called " reverse debugging" in Qt or something like that.
    I can see the "stack sequence" but that does no give me much info to select the
    "called from" entry.

    Many thanks for your help.

    A 1 Reply Last reply 23 Oct 2023, 22:08
    0
    • A Anonymous_Banned275
      23 Oct 2023, 15:00

      EDIT
      I think "call hierarchy" is the ticket...
      But it is grayed out in edit options...

      How do I enable it?

      I am sure I asked this before, so do not get offended by lack of old fart memory.

      When I set a breakpoints in function - how do I "go back " to where the function was called from ?
      I believe it is called " reverse debugging" in Qt or something like that.
      I can see the "stack sequence" but that does no give me much info to select the
      "called from" entry.

      Many thanks for your help.

      A Offline
      A Offline
      Axel Spoerl
      Moderators
      wrote on 23 Oct 2023, 22:08 last edited by
      #2

      @AnneRanch
      You find all about it here.

      Software Engineer
      The Qt Company, Oslo

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Anonymous_Banned275
        wrote on 24 Oct 2023, 18:52 last edited by
        #3

        Would you kindly point to the EXACT place where to enable "call hierarchy" ?

        A 1 Reply Last reply 26 Oct 2023, 06:36
        0
        • A Anonymous_Banned275
          24 Oct 2023, 18:52

          Would you kindly point to the EXACT place where to enable "call hierarchy" ?

          A Offline
          A Offline
          Axel Spoerl
          Moderators
          wrote on 26 Oct 2023, 06:36 last edited by
          #4

          @AnneRanch

          cad55527-84d6-4577-8855-443cf004a8b6-image.png

          I assume you mean (without writing it explicitly) Qt Creator and debugging in Qt Creator.
          If a proper debug build is run with the debug function, you should see something like the screenshot attached. The lower part is the stack trace. Clicking on a line gets you to the caller. Doesn't need to be enabled.

          Software Engineer
          The Qt Company, Oslo

          1 Reply Last reply
          0

          1/4

          23 Oct 2023, 15:00

          • Login

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