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. Unable to Add Expression in QT Creator
Forum Updated to NodeBB v4.3 + New Features

Unable to Add Expression in QT Creator

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

    New to QT Creator

    Every time I set a watch I get the error "Unable to Add Expression." Is the debugger extremely limited or do I have something configured wrong?

    Windows 7 and Qt Creator 3.2.1

    https://fbcdn-sphotos-d-a.akamaihd.net/hphotos-ak-xap1/t31.0-8/10648943_10101075113026776_8608535497631976940_o.jpg

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jordanparfitt
      wrote on last edited by
      #2

      I feel like I'm losing a lot of time over this. Does anyone else have this issue with Qt Creator? Even a simple "you have something configured wrong because mine works fine" would be helpful at this point.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andrep
        wrote on last edited by
        #3

        You seem to use MSVC/CDB to debug your application. CDB is very limited to what it allows to be evaluated "on the fly", it looks like the expression you want it to evaluate is considered "too complex"

        The GCC(MinGW)/GDB combo would be more flexible in this particular case. But even there you should avoid function calls in evaluated expressions if possible for performance reasons.

        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