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. GammaRay

GammaRay

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
7 Posts 4 Posters 1.8k 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.
  • VRoninV Offline
    VRoninV Offline
    VRonin
    wrote on last edited by
    #1

    Did somebody ever use KDAB's GammaRay?
    Do you find it useful?
    What are the cases that this tool helped you the most?


    Background:
    Lately I've been fighting with a weird bug involving the QObject destructor of A : public QObject emitting a signal connected to a slot in A that is now invalid as its destructor already did its job. Debugging it was not easy and I was wondering if I should consider an enhanced Qt debugger as GammaRay

    "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
    ~Napoleon Bonaparte

    On a crusade to banish setIndexWidget() from the holy land of Qt

    raven-worxR 1 Reply Last reply
    0
    • VRoninV VRonin

      Did somebody ever use KDAB's GammaRay?
      Do you find it useful?
      What are the cases that this tool helped you the most?


      Background:
      Lately I've been fighting with a weird bug involving the QObject destructor of A : public QObject emitting a signal connected to a slot in A that is now invalid as its destructor already did its job. Debugging it was not easy and I was wondering if I should consider an enhanced Qt debugger as GammaRay

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @VRonin
      is it really a debugger?
      As i always understood it, it helps you a lot to inspect the Widget/QML/GraphicsView... structure and internal mechanics of Qt.
      But i've never used it myself though, only by reading some articles and docs.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      VRoninV 1 Reply Last reply
      0
      • raven-worxR raven-worx

        @VRonin
        is it really a debugger?
        As i always understood it, it helps you a lot to inspect the Widget/QML/GraphicsView... structure and internal mechanics of Qt.
        But i've never used it myself though, only by reading some articles and docs.

        VRoninV Offline
        VRoninV Offline
        VRonin
        wrote on last edited by
        #3

        @raven-worx said in GammaRay:

        is it really a debugger?

        I did not try it yet but they claim here:

        Augmenting your instruction-level debugger, GammaRay allows you to work on a much higher level

        GammaRay [...] provid[es] domain-specific debugging aids on a much higher level.

        "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
        ~Napoleon Bonaparte

        On a crusade to banish setIndexWidget() from the holy land of Qt

        raven-worxR kshegunovK 2 Replies Last reply
        0
        • VRoninV VRonin

          @raven-worx said in GammaRay:

          is it really a debugger?

          I did not try it yet but they claim here:

          Augmenting your instruction-level debugger, GammaRay allows you to work on a much higher level

          GammaRay [...] provid[es] domain-specific debugging aids on a much higher level.

          raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          @VRonin
          but i think with "higher level debugging" they mean "visual" debugging, not code debugging.
          You can display the tree structures, state machines, etc. which quickly lets you debug wrong behaviors.

          Nevertheless it can help. I would be surprised when you couldn't trigger a breakpoint when a specific signal of a specific object instance is triggered for example. But then anyway you would have to continue with your code debugger.

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          0
          • m.sueM Offline
            m.sueM Offline
            m.sue
            wrote on last edited by m.sue
            #5

            Here is a list of some things it can do: https://github.com/KDAB/GammaRay#introduction
            -Michael.

            VRoninV 1 Reply Last reply
            0
            • VRoninV VRonin

              @raven-worx said in GammaRay:

              is it really a debugger?

              I did not try it yet but they claim here:

              Augmenting your instruction-level debugger, GammaRay allows you to work on a much higher level

              GammaRay [...] provid[es] domain-specific debugging aids on a much higher level.

              kshegunovK Offline
              kshegunovK Offline
              kshegunov
              Moderators
              wrote on last edited by
              #6

              I haven't used it, but as far as I know it's used "to dissect" a Qt program. This includes event processing and marshaling, signal-slot invocations, QObject-trees (and their dynamic properties). As @raven-worx said, state machines and widget painting(!) are two places it could be real valuable.

              Read and abide by the Qt Code of Conduct

              1 Reply Last reply
              0
              • m.sueM m.sue

                Here is a list of some things it can do: https://github.com/KDAB/GammaRay#introduction
                -Michael.

                VRoninV Offline
                VRoninV Offline
                VRonin
                wrote on last edited by
                #7

                @m.sue Yes, I read the docs but I wanted to know if someone actually uses it and for what

                "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                ~Napoleon Bonaparte

                On a crusade to banish setIndexWidget() from the holy land of Qt

                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