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. Debugging in Creator: possible to lock a window?
Forum Updated to NodeBB v4.3 + New Features

Debugging in Creator: possible to lock a window?

Scheduled Pinned Locked Moved Qt Creator and other tools
19 Posts 4 Posters 7.8k 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.
  • D Offline
    D Offline
    Duck
    wrote on last edited by
    #7

    [quote author="mzimmers" date="1320677235"]FWIW, I'm very happy with the debugger interface in Creator. If I could just figure out a way to view the contents of various objects (like vectors or stacks), I'd be even happier, but...it works wonderfully for me.[/quote]

    vectors and stacks (both Qt and std) should be displayed nicely out-of-the-box (unless you actively disabled "Use Debugging Helpers" or such). If it doesn't for you, file a bug and attach the debugger log (content of right pane of Windows->Views->Debugger Log)

    1 Reply Last reply
    0
    • mzimmersM Offline
      mzimmersM Offline
      mzimmers
      wrote on last edited by
      #8

      Here's what it looks like to me:

      !http://scopedin.com/images/qtdebug.jpg(debug window)!

      I can see the first and last element, but know of no way to see the ones in between.

      And, I do have debugging helpers enabled.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        Duck
        wrote on last edited by
        #9

        Sorry, that's a snapshot of the "Locals and Expressions" window, not the contents of the right pane of "Windows->Views->Debugger Log". That would be quite a bit of text, so putting it on pastebin.com and just posting a link here might be an option. The log contains your debugger configuration, so it's much easier to spot the reason for your problem. From the screenshot I only see that the "helpers" do not work at all for you, but not why.

        1 Reply Last reply
        0
        • mzimmersM Offline
          mzimmersM Offline
          mzimmers
          wrote on last edited by
          #10

          Is there a way to clear the debugger log?

          1 Reply Last reply
          0
          • D Offline
            D Offline
            Duck
            wrote on last edited by
            #11

            There's something in the context menu of that view.

            1 Reply Last reply
            0
            • mzimmersM Offline
              mzimmersM Offline
              mzimmers
              wrote on last edited by
              #12

              Got it...thanks.

              The debugger log, and the commands window are in files here:

              "debugger log":http://scopedin.com/text/

              1 Reply Last reply
              0
              • D Offline
                D Offline
                Duck
                wrote on last edited by
                #13

                Mac... we could have figured that out quicker. Go to Tools->Options->Qt Version (or something similar), select the Qt version you are using, and "Rebuild" the debugging helpers.

                1 Reply Last reply
                0
                • mzimmersM Offline
                  mzimmersM Offline
                  mzimmers
                  wrote on last edited by
                  #14

                  I can't find that command, and I have to leave for a meeting now. I'll look around for it later, and report back. Thanks.

                  EDIT (for posterity): this is in preferences. Qt Creator->Preferences->Qt4, under the "Helpers" area (you have to click on "Details" to see what you're looking for. Then, build them...and sit for awhile, because it takes a few minutes, and you don't get any feedback while that's happening.

                  Anyway, I built the helpers...so, where should I look for the improved display of vectors and stacks and stuff? The "Locals and Expressions" window looks the same.

                  1 Reply Last reply
                  0
                  • mzimmersM Offline
                    mzimmersM Offline
                    mzimmers
                    wrote on last edited by
                    #15

                    Any ideas, guys? Helpers are built and enabled, but I'm not seeing anything different. It would be very nice to have an improved view into some of the STL data structures.

                    Thanks.

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      Duck
                      wrote on last edited by
                      #16

                      Do you see any difference in the debugger log? The lines "dState changed from InferiorRunOk(11) to InferiorStopOk(14). dThe debugging helper library was not found at ." should look different now.

                      1 Reply Last reply
                      0
                      • mzimmersM Offline
                        mzimmersM Offline
                        mzimmers
                        wrote on last edited by
                        #17

                        Upon closer look, it appears that this is partly solved:

                        I searched the debugger log for "helper library" and found nothing, so I assume that error is gone.

                        Some vectors are displaying better now. Here's a screenshot of a locals windows. The vector nyqInp (passed to the active routine as a parameter) is now displayed "nicely," but the member vectors coeffBuffer and inpBuffer aren't.

                        !http://scopedin.com/images/qtdebug2.jpg(qt locals window)!

                        At least this is progress, but I'd really like to be able to see into member vectors, too.

                        1 Reply Last reply
                        0
                        • mzimmersM Offline
                          mzimmersM Offline
                          mzimmers
                          wrote on last edited by
                          #18

                          Any ideas from anyone on this? Thanks.

                          1 Reply Last reply
                          0
                          • mzimmersM Offline
                            mzimmersM Offline
                            mzimmers
                            wrote on last edited by
                            #19

                            Should I start a new thread with a different subject on this? It appears that the helper doesn't "help" on stuff pointed to by the "this" pointer.

                            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