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. [SOLVED] Qt5.1.1 Creator Locals and Expressions empty on breakpoint?
Qt 6.11 is out! See what's new in the release blog

[SOLVED] Qt5.1.1 Creator Locals and Expressions empty on breakpoint?

Scheduled Pinned Locked Moved General and Desktop
8 Posts 3 Posters 4.7k Views 1 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.
  • V Offline
    V Offline
    vezprog
    wrote on last edited by
    #1

    Hi,

    I am using Ubuntu 10.04, and Qt5.1.1 with the stock creator (2.8.1). For some reason the local expressions table is completely empty when I have many variables on the stack. I've never had this issue in other version of Qt.

    Has anyone had this issue before and/or been able to fix it?

    Thank you!

    1 Reply Last reply
    0
    • N Offline
      N Offline
      Nate R.
      wrote on last edited by
      #2

      I am having the same issue, if I find anything about this issue I will let you know. Have you found any additional information about this or resolved it?

      1 Reply Last reply
      0
      • V Offline
        V Offline
        vezprog
        wrote on last edited by
        #3

        I have not been able to fix this issue yet...its tough debugging an entire project without the local expressions window..

        My workaround currently is just to right click the expression I want to get a closer look at (variable), and add it to the watch window manually..

        1 Reply Last reply
        0
        • C Offline
          C Offline
          controlhorus
          wrote on last edited by
          #4

          Hello

          I have a similar issue but I even can not right click.

          If you open the Debugger Log window you can see the debugger commands flow and see if there is any error.

          Best regards

          1 Reply Last reply
          0
          • N Offline
            N Offline
            Nate R.
            wrote on last edited by
            #5

            I can't even add the values of C++ variables manually to the Locals and Expressions window, I used to be able to drag and drop them over before I upgraded. I can see Qml variables when I set a break point in a qml file but it won’t show me my c++ variables when I put a break point in my cpp files.

            1 Reply Last reply
            0
            • V Offline
              V Offline
              vezprog
              wrote on last edited by
              #6

              Anyone make any progress on this issue? I looked at the debugger log window, this is the only thing that throws a red flag to me as an error:

              @

              &"bb options:fancy,autoderef,dyntype vars: expanded:inspect,return,local,watch typeformats: formats: watchers:\n"
              ~"XXX: BLOCK NOT ACCESSIBLE FOR UNKNOWN REASONS\n"
              ~"\n"
              ~"data=[],typeinfo=[]\n"
              109^done
              dDISCARDING JUNK AT BEGIN OF RESPONSE: XXX: BLOCK NOT ACCESSIBLE FOR UNKNOWN REASONS
              d
              <Rebuild Watchmodel 3>
              @

              This is at the very end once I hit my breakpoint in the creator.

              1 Reply Last reply
              0
              • V Offline
                V Offline
                vezprog
                wrote on last edited by
                #7

                This is actually a GDB issue.

                I downloaded and installed the newest GDB from:
                ftp://sourceware.org/pub/gdb/releases/

                Make sure you install ncurses-dev before installing.

                For some reason, with the 'SDK' version of the Qt5.1.1 bundle, I wasn't able to change the location of the GDB under Tools->Options->Build & Run, So I downloaded the standalone QtCreator from Qt's website.

                Next, in your kit (by default) the GDB executable location is set to /usr/bin/

                The newest GDB is located (after installing) in /usr/local/bin/.

                Everything works now. Thank you.

                1 Reply Last reply
                0
                • N Offline
                  N Offline
                  Nate R.
                  wrote on last edited by
                  #8

                  I was able to get mine working (mostly) as well by updating gdb. Since I am working on embedded linux I downloaded the latest version from here: https://launchpad.net/linaro-toolchain-binaries

                  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