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. Debugger problems since updating with Maintenance tool.
Forum Updated to NodeBB v4.3 + New Features

Debugger problems since updating with Maintenance tool.

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt 5.6 debugger
12 Posts 4 Posters 2.7k Views 2 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi and welcome to devnet,

    Since you seem to be a commercial customer, I'd recommend contacting the Qt Company about that matter.

    In between, you can also try the beta Qt Creator 4.3 to check if it solves that part.

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    1
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #3

      Hi
      Its mostly not that but please check ( to be sure)
      alt text

      1 Reply Last reply
      0
      • T Offline
        T Offline
        Tim Webster
        wrote on last edited by
        #4

        @mrjj , that option is already checked.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          Tim Webster
          wrote on last edited by Tim Webster
          #5

          Sorry to say, but the debugger in its current state is useless, I cannot expand classes, 'this' doesn't appear correctly and most of the time any attempt to expand an object results in [0] being displayed and that is all.

          I can't be the only person with this issue? Qt Creator and the tools are fully up to date. The problem seems to be related to static methods, in that all is well until I step into a static method, then from that point onwards the debugger is no good.

          Many variables (pointers) are displayed in the 'watch' area with <not accessible> displayed to the right.

          J.HilkJ 1 Reply Last reply
          0
          • T Tim Webster

            Sorry to say, but the debugger in its current state is useless, I cannot expand classes, 'this' doesn't appear correctly and most of the time any attempt to expand an object results in [0] being displayed and that is all.

            I can't be the only person with this issue? Qt Creator and the tools are fully up to date. The problem seems to be related to static methods, in that all is well until I step into a static method, then from that point onwards the debugger is no good.

            Many variables (pointers) are displayed in the 'watch' area with <not accessible> displayed to the right.

            J.HilkJ Offline
            J.HilkJ Offline
            J.Hilk
            Moderators
            wrote on last edited by
            #6

            @Tim-Webster
            Hi, few options:

            The official Qt 5.9 came out literally today, try downloading that one and see if the problem persists

            In your post, it doesn't say what debugger you're using. If its the GNU gdb (the windows default one for mingw builds) you could try installing MSVC-Compiler with the windows own cdb-debugger.


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            1 Reply Last reply
            1
            • T Offline
              T Offline
              Tim Webster
              wrote on last edited by Tim Webster
              #7

              I'm using and working on RedHat Linux:

              uname -a
              Linux new-host 3.10.0-514.el7.x86_64 #1 SMP Wed Oct 19 11:24:13 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux

              cat /etc/redhat-release
              Red Hat Enterprise Linux Workstation release 7.2 (Maipo)

              gcc --version
              gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-11)
              Copyright (C) 2015 Free Software Foundation, Inc.
              This is free software; see the source for copying conditions. There is NO
              warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

              gdb --version
              GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-94.el7
              Copyright (C) 2013 Free Software Foundation, Inc.
              License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
              This is free software: you are free to change and redistribute it.
              There is NO WARRANTY, to the extent permitted by law. Type "show copying"
              and "show warranty" for details.
              This GDB was configured as "x86_64-redhat-linux-gnu".
              For bug reporting instructions, please see:
              http://www.gnu.org/software/gdb/bugs/.

              Downloading 5.9 now..download complete but no better.

              I've started single stepping the application, initially everything is good then at some point the debugger seems to get corrupted, pointers that were visible and expandable, aren't any more. What I cannot understand is that whilst it appears to be my application that is causing this, how can this be? How can an application corrupt the debugger?

              1 Reply Last reply
              0
              • T Offline
                T Offline
                Tim Webster
                wrote on last edited by
                #8

                Is there no response on how to address this from Qt ?

                We are fully paid up licensed developers and this is costing time and money because without a fully functional debugger progress has slowed, it seems to be one particular object which is derived from QObject that is the biggest problem where classes with a pointer to any instances of this object are not expandable in the debugger and simple show [0] when expanded and <not accessible> in the watch window.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #9

                  Like I wrote before, this is a community driven forum so you are less likely to find people here using RHEL. I encourage you again to take contact directly with the Qt Company since you have a commercial license.

                  In between you can reach the Qt Creator developers/maintainers on the Qt Creator mailing list and there's also the #qt-creator IRC channel.

                  You might also want to take a look at the bug report system to see if there's anything related to your situation.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  1
                  • T Offline
                    T Offline
                    Tim Webster
                    wrote on last edited by
                    #10

                    I have posted on the bug report system, there is no feedback there either.

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #11

                      Can you share the link to the report ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      T 1 Reply Last reply
                      0
                      • SGaistS SGaist

                        Can you share the link to the report ?

                        T Offline
                        T Offline
                        Tim Webster
                        wrote on last edited by Tim Webster
                        #12

                        @SGaist Sorry, I thought I had posted a report on this issue, however this was on another issue, I will create a post and share now.

                        https://bugreports.qt.io/browse/QTCREATORBUG-18312

                        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