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. QtCreator debugger whats happened?
Forum Updated to NodeBB v4.3 + New Features

QtCreator debugger whats happened?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
24 Posts 5 Posters 6.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.
  • Simon PlattenS Offline
    Simon PlattenS Offline
    Simon Platten
    wrote on last edited by Simon Platten
    #13

    @jsulm, In my code the list and the node are one in the same, thats why I have a static pointer to head. Every node has access to the head of the list, I don't need another structure or class to define the list, because the list and the nodes share the same class.

    Simply example:

        class clsNode {
        private:
           static clsNode* mpobjHead;
           clsNode* mpobjNext;
      /* other members... for the node instance */
        public:
            clsNode();
    
            static clsNode* pobjGetHead() { return mpobjHead; }
            clsNode* pobjGetNext() { return mpobjNext; }
        };
    

    Kind Regards,
    Simon Platten

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

      Hi,

      Since you are using Qt and you are implementing a linked list, why not use QLinkedList ?

      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
      0
      • Simon PlattenS Offline
        Simon PlattenS Offline
        Simon Platten
        wrote on last edited by
        #15

        @SGaist , Thank you, I'm pretty sure that the implementation of my linked list is ok, as this application is working fine without problems and the linked list has been established for over a year now....its just the debugger which is not behaving well...pointers and 'this' not showing correctly, in every other aspect the application and debugger is ok....so frustrating.

        Kind Regards,
        Simon Platten

        1 Reply Last reply
        0
        • Simon PlattenS Offline
          Simon PlattenS Offline
          Simon Platten
          wrote on last edited by
          #16

          I'm still no further forward in finding a reason why the debugger has stopped working properly, its very annoying and seems to be something in my code that has broken the debugger, but how can anything in the code being debugged break the debugger?

          Kind Regards,
          Simon Platten

          1 Reply Last reply
          0
          • OlivierDuguayO Offline
            OlivierDuguayO Offline
            OlivierDuguay
            wrote on last edited by
            #17

            I don't think this is a problem in your code... I have almost the same problem since I upgraded to Qt Creator 4.2.1 with Desktop Qt 5.7.1 MSVC2015_64bit.

            I can't access "this" pointer whichever the class, and one time out of two (and even more) I also can't access member object/variable...

            So annoying when it come to debug the code... I have to "qDebug" everything...

            Hope someone will find what's wrong...

            (PS. I don't have any static variable/object, so IT AIN'T THE PROBLEM)

            Olivier Duguay

            1 Reply Last reply
            0
            • Simon PlattenS Offline
              Simon PlattenS Offline
              Simon Platten
              wrote on last edited by
              #18

              @OlivierDuguay, thank you for posting, nice to know I'm not the only one experiencing this, now how do we escalate this issue so someone at Qt investigates the problem?

              Kind Regards,
              Simon Platten

              jsulmJ 1 Reply Last reply
              0
              • Simon PlattenS Simon Platten

                @OlivierDuguay, thank you for posting, nice to know I'm not the only one experiencing this, now how do we escalate this issue so someone at Qt investigates the problem?

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #19

                @Simon-Platten You can file a bug report if there isn't one already (https://bugreports.qt.io/secure/Dashboard.jspa)

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • Simon PlattenS Offline
                  Simon PlattenS Offline
                  Simon Platten
                  wrote on last edited by
                  #20

                  @jsulm, thank you, I'll do it now.

                  Kind Regards,
                  Simon Platten

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

                    Can you share the link to the report ? That will make it easier to find.

                    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
                    0
                    • Simon PlattenS Offline
                      Simon PlattenS Offline
                      Simon Platten
                      wrote on last edited by Simon Platten
                      #22

                      @SGaist , https://bugreports.qt.io/browse/QTCREATORBUG-18030

                      Kind Regards,
                      Simon Platten

                      1 Reply Last reply
                      0
                      • Simon PlattenS Offline
                        Simon PlattenS Offline
                        Simon Platten
                        wrote on last edited by Simon Platten
                        #23

                        Better, but not completely fixed, visit https://bugreports.qt.io/browse/QTCREATORBUG-18030 for solution.

                        Kind Regards,
                        Simon Platten

                        1 Reply Last reply
                        0
                        • A Offline
                          A Offline
                          alexzk
                          wrote on last edited by
                          #24

                          Yes, it's happening,
                          Code:
                          int* p = mask.size.p;
                          is shown as int and value is p[0]
                          0_1498337924396_bad_debugger.png

                          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