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. Locals and Expressions window is blank
Forum Updated to NodeBB v4.3 + New Features

Locals and Expressions window is blank

Scheduled Pinned Locked Moved General and Desktop
7 Posts 2 Posters 2.2k 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.
  • B Offline
    B Offline
    BasicPoke
    wrote on last edited by
    #1

    Hello, my Locals and Expressions window has stopped working and is blank. I have read that I should download gdb but I can't find that. What should I do? Would downloading the latest Qt help?

    Here is my pro file:
    @QT += core gui

    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

    TARGET = GaugeMon
    TEMPLATE = app

    SOURCES += main.cpp
    GaugeMon.cpp

    HEADERS +=
    ../DAQ_C/cbw.h
    GaugeMon.h

    FORMS +=
    GaugeMon.ui

    OTHER_FILES +=

    #---Following added when DAQ library was added---
    #win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../DAQ_C/ -lcbw32
    #else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../DAQ_C/ -lcbw32d
    LIBS += -L$$PWD/../../DAQ_C/ -lcbw32

    INCLUDEPATH += $$PWD/../../DAQ_C
    DEPENDPATH += $$PWD/../../DAQ_C
    @

    The only thing that looks odd in my debug log is this:
    @>&"Python Exception <type 'exceptions.UnicodeEncodeError'> 'ascii' codec can't encode character u'\xff' in position 867: ordinal not in range(128): \n"

    &"Error occurred in Python command: 'ascii' codec can't encode character u'\xff' in position 867: ordinal not in range(128)\n"
    3473^error,msg="Error occurred in Python command: 'ascii' codec can't encode character u'\\xff' in position 867: ordinal not in range(128)"
    dDUMPER FAILED: 3473^error,data={msg="Error occurred in Python command: 'ascii' codec can't encode character u'\\xff' in position 867: ordinal not in range(128)"}
    @

    Any ideas? Thanks.
    Ron

    1 Reply Last reply
    0
    • B Offline
      B Offline
      BasicPoke
      wrote on last edited by
      #2

      It started working again today for no apparent reason.
      Ron

      1 Reply Last reply
      0
      • B Offline
        B Offline
        BasicPoke
        wrote on last edited by
        #3

        Ok, my Locals and Expressions window is sometimes blank, and occasionally works. Really annoying. Any ideas?
        Thanks
        Ron

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

          Hi,

          Got any non-ascii char in your code/data ?

          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
          • B Offline
            B Offline
            BasicPoke
            wrote on last edited by
            #5

            I don't believe there are any odd characters. Don't even have any C strings. Now I am losing debug info exactly when I need it, very frustrating. I have a breakpoint in a function, I stop there, step a few times (Locals and Expressions is working correctly), then add another breakpoint, click continue, then it stops at the new breakpoint. When I start stepping, the Locals and Expressions window all goes gray and values are no longer updated. The values are also wrong when I hover over a variable.

            With the L&E window closed, then values when I hover are grayed out and incorrect.

            I have restarted Qt Creator, powered down & rebooted. Any ideas?
            Thanks
            Ron

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

              What OS and Qt Creator versions are you running ?

              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
              • B Offline
                B Offline
                BasicPoke
                wrote on last edited by
                #7

                Windows 7 64-bit, and I believe that was Qt Creator 3.1.0 and Qt 5.2.1. I installed Qt Creator "3.2.1 (opensource)" and the problem has gone away for now. I may be back later. Thanks for your help.
                Ron

                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