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. Problem with qtcreator debugger. Cannot see info about 'this' pointer in own code.

Problem with qtcreator debugger. Cannot see info about 'this' pointer in own code.

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtcreator 4.6.2debuggingthisnot accessible
10 Posts 4 Posters 1.8k 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.
  • F Offline
    F Offline
    F.Haferkorn
    wrote on 5 Sept 2018, 22:20 last edited by aha_1980 9 Sept 2018, 10:45
    #1

    I am using qtcreator 4.6.2 and Qt 5.11.1
    When I enter in debug modus into one of my own classes, the debugger of local vars does not show any information about the *this class.

    I am no newbie, but at this point I don't know what else to do.
    Has anybody a similar observation, or even better a solution for the problem?

    I "hold" a patent about the topic sound-design: see this link:
    https://www.google.de/search?&q=inventor%3AF.Haferkorn&oq=inventor%3AF.Haferkorn

    K A 2 Replies Last reply 6 Sept 2018, 08:32
    0
    • F F.Haferkorn
      5 Sept 2018, 22:20

      I am using qtcreator 4.6.2 and Qt 5.11.1
      When I enter in debug modus into one of my own classes, the debugger of local vars does not show any information about the *this class.

      I am no newbie, but at this point I don't know what else to do.
      Has anybody a similar observation, or even better a solution for the problem?

      K Offline
      K Offline
      koahnig
      wrote on 6 Sept 2018, 08:32 last edited by
      #2

      @F.Haferkorn

      What is your OS and toolchain?

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • F F.Haferkorn
        5 Sept 2018, 22:20

        I am using qtcreator 4.6.2 and Qt 5.11.1
        When I enter in debug modus into one of my own classes, the debugger of local vars does not show any information about the *this class.

        I am no newbie, but at this point I don't know what else to do.
        Has anybody a similar observation, or even better a solution for the problem?

        A Offline
        A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on 6 Sept 2018, 10:08 last edited by
        #3

        Hi @F.Haferkorn,

        please have a look in the debugger log (Windows > Views > Debugger Log) if there is anything obvious.

        And as @koahnig said, which compiler/debugger are your using under which OS?

        Qt has to stay free or it will die.

        1 Reply Last reply
        2
        • M Offline
          M Offline
          mranger90
          wrote on 6 Sept 2018, 11:50 last edited by
          #4

          @aha_1980 Wow!
          I've been using Qt for 5 years now and somehow have never used the debugger log.
          That looks incredibly useful. Thanks for mentioning it.

          1 Reply Last reply
          1
          • F Offline
            F Offline
            F.Haferkorn
            wrote on 9 Sept 2018, 09:48 last edited by
            #5

            Hello,
            I am usig Visual Studio 2015 64 bit under Windows 10.
            The Debugger is "Windows 10 x64".

            I "hold" a patent about the topic sound-design: see this link:
            https://www.google.de/search?&q=inventor%3AF.Haferkorn&oq=inventor%3AF.Haferkorn

            1 Reply Last reply
            0
            • F Offline
              F Offline
              F.Haferkorn
              wrote on 9 Sept 2018, 09:59 last edited by
              #6

              Wen I try to access the "this" pointer of the Class FhpPosMix e.g in the Constructor, The left pane of the debuger Console shows this text near at the end of;
              result={data=[{iname="local.this",name="this",origaddr="0xc68c37ef70",address="0x291c0dbe578",address="0x291c0dbe578",numchild="1",type="fhs::FhspPosMix",value=""},{iname="watch.0",wname="6D5F706F736974696F6E",origaddr="0x291c0dbe5a8",address="0x291c0db9630",address="0x291c0db9630",numchild="1",type="fhs::FhspMoveSpherical",value=""}],partial="0",timings=[]}
              <Rebuild Watchmodel 136 @ 11:44:41.619 [134725ms] >
              sAlle Daten erhalten

              <!qtcreatorcdbext.script theDumper.fetchVariables({"autoderef":1,"context":"","displaystringlimit":"100","dyntype":1,"expanded":["local","local.this","return","watch","inspect"],"fancy":1,"formats":{},"nativemixed":0,"partialvar":"local.this","passexceptions":0,"qobjectnames":1,"stringcutoff":"10000","typeformats":{},"uninitialized":[],"watchers":[{"exp":"6d5f706f736974696f6e","iname":"watch.0"}]})

              result={data=[{iname="local.this",name="this",origaddr="0xc68c37ef70",address="0x291c0dbe578",address="0x291c0dbe578",numchild="1",sortable="1",children=[],type="fhs::FhspPosMix",value=""},{iname="watch.0",wname="6D5F706F736974696F6E",origaddr="0x291c0dbe5a8",address="0x291c0db9630",address="0x291c0db9630",numchild="1",type="fhs::FhspMoveSpherical",value=""}],partial="1",timings=[]}
              <Rebuild Watchmodel 137 @ 11:44:48.809 [7190ms] >
              sAlle Daten erhalten
              dADJUSTING CHILD EXPECTATION FOR local.this

              <!qtcreatorcdbext.modules
              <!qtcreatorcdbext.modules
              <!qtcreatorcdbext.modules

              I have no clue at all, what the problem is...

              I "hold" a patent about the topic sound-design: see this link:
              https://www.google.de/search?&q=inventor%3AF.Haferkorn&oq=inventor%3AF.Haferkorn

              1 Reply Last reply
              0
              • F Offline
                F Offline
                F.Haferkorn
                wrote on 9 Sept 2018, 10:11 last edited by
                #7

                The right pane of the debugger-log indicates:

                result={data=[{iname="local.this",name="this",origaddr="0xc68c37ef70",address="0x291c0dbe578",address="0x291c0dbe578",numchild="1",sortable="1",children=[],type="fhs::FhspPosMix",value=""},{iname="watch.0",wname="6D5F706F736974696F6E",origaddr="0x291c0dbe5a8",address="0x291c0db9630",address="0x291c0db9630",numchild="1",type="fhs::FhspMoveSpherical",value=""}],partial="1",timings=[]}
                <Rebuild Watchmodel 137 @ 11:44:48.809 [7190ms] >
                sAlle Daten erhalten
                dADJUSTING CHILD EXPECTATION FOR local.this
                <!qtcreatorcdbext.modules

                The reason for this misbehaviour might be:
                I modified some of the default settings of the debugger.
                Strange, but at other code-positions, accessing this pointer (in debugger) works flawless.

                I "hold" a patent about the topic sound-design: see this link:
                https://www.google.de/search?&q=inventor%3AF.Haferkorn&oq=inventor%3AF.Haferkorn

                K A 2 Replies Last reply 9 Sept 2018, 10:34
                0
                • F F.Haferkorn
                  9 Sept 2018, 10:11

                  The right pane of the debugger-log indicates:

                  result={data=[{iname="local.this",name="this",origaddr="0xc68c37ef70",address="0x291c0dbe578",address="0x291c0dbe578",numchild="1",sortable="1",children=[],type="fhs::FhspPosMix",value=""},{iname="watch.0",wname="6D5F706F736974696F6E",origaddr="0x291c0dbe5a8",address="0x291c0db9630",address="0x291c0db9630",numchild="1",type="fhs::FhspMoveSpherical",value=""}],partial="1",timings=[]}
                  <Rebuild Watchmodel 137 @ 11:44:48.809 [7190ms] >
                  sAlle Daten erhalten
                  dADJUSTING CHILD EXPECTATION FOR local.this
                  <!qtcreatorcdbext.modules

                  The reason for this misbehaviour might be:
                  I modified some of the default settings of the debugger.
                  Strange, but at other code-positions, accessing this pointer (in debugger) works flawless.

                  K Offline
                  K Offline
                  koahnig
                  wrote on 9 Sept 2018, 10:34 last edited by
                  #8

                  @F.Haferkorn

                  When you can produce a small project showing the effect, you may want to check on JIRA for a bug report or file one yourself.

                  Vote the answer(s) that helped you to solve your issue(s)

                  1 Reply Last reply
                  1
                  • F F.Haferkorn
                    9 Sept 2018, 10:11

                    The right pane of the debugger-log indicates:

                    result={data=[{iname="local.this",name="this",origaddr="0xc68c37ef70",address="0x291c0dbe578",address="0x291c0dbe578",numchild="1",sortable="1",children=[],type="fhs::FhspPosMix",value=""},{iname="watch.0",wname="6D5F706F736974696F6E",origaddr="0x291c0dbe5a8",address="0x291c0db9630",address="0x291c0db9630",numchild="1",type="fhs::FhspMoveSpherical",value=""}],partial="1",timings=[]}
                    <Rebuild Watchmodel 137 @ 11:44:48.809 [7190ms] >
                    sAlle Daten erhalten
                    dADJUSTING CHILD EXPECTATION FOR local.this
                    <!qtcreatorcdbext.modules

                    The reason for this misbehaviour might be:
                    I modified some of the default settings of the debugger.
                    Strange, but at other code-positions, accessing this pointer (in debugger) works flawless.

                    A Offline
                    A Offline
                    aha_1980
                    Lifetime Qt Champion
                    wrote on 9 Sept 2018, 10:45 last edited by
                    #9

                    Hi @F.Haferkorn,

                    I remember that some users here had problems with the Python dumpers (or pretty printers) and disabling them in the Options helped.

                    Otherwise you can create a report wiht minimal example and debugger log attached, as @koahnig already said.

                    Regards

                    Qt has to stay free or it will die.

                    1 Reply Last reply
                    0
                    • F Offline
                      F Offline
                      F.Haferkorn
                      wrote on 9 Sept 2018, 10:55 last edited by
                      #10

                      Thanks @koahnig and @aha_1980.
                      I will setup a smaller Project an then do the recommended steps.
                      Regards...

                      I "hold" a patent about the topic sound-design: see this link:
                      https://www.google.de/search?&q=inventor%3AF.Haferkorn&oq=inventor%3AF.Haferkorn

                      1 Reply Last reply
                      0

                      1/10

                      5 Sept 2018, 22:20

                      • Login

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