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. What does the highlighted mean?

What does the highlighted mean?

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 5 Posters 2.1k 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.
  • nulluseN Offline
    nulluseN Offline
    nulluse
    wrote on last edited by nulluse
    #1

    QtCreator does not know how to evaluate the function calls???
    Screenshot

    kshegunovK 1 Reply Last reply
    0
    • nulluseN Offline
      nulluseN Offline
      nulluse
      wrote on last edited by
      #2

      And my next question is going to me how is this automatically resized inspector area is considered useful???
      another screenshot
      Is this some sort of sophisticated bullying?

      ? 1 Reply Last reply
      0
      • nulluseN nulluse

        And my next question is going to me how is this automatically resized inspector area is considered useful???
        another screenshot
        Is this some sort of sophisticated bullying?

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        @nulluse said:

        Is this some sort of sophisticated bullying?

        :'-D

        1 Reply Last reply
        0
        • nulluseN Offline
          nulluseN Offline
          nulluse
          wrote on last edited by
          #4

          I take you are finding this funny?

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            Oh, wasn't that meant to be funny?

            1 Reply Last reply
            0
            • nulluseN nulluse

              QtCreator does not know how to evaluate the function calls???
              Screenshot

              kshegunovK Offline
              kshegunovK Offline
              kshegunov
              Moderators
              wrote on last edited by
              #6

              @nulluse said:

              QtCreator does not know how to evaluate the function calls???

              Nope, it doesn't. Neither does gdb nor cdb for that matter. I always wondered why that is ...

              Read and abide by the Qt Code of Conduct

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

                Qt Creator routinely fails to present even the local variables on Linux and OS X. Deal with it. Use qDebug().

                1 Reply Last reply
                0
                • Chris KawaC Offline
                  Chris KawaC Offline
                  Chris Kawa
                  Lifetime Qt Champion
                  wrote on last edited by Chris Kawa
                  #8

                  @nulluse said:

                  QtCreator does not know how to evaluate the function calls???

                  No. QtCreator is not a debugger. The debuggers certainly can, but apparently just not that one. This happens. Take your beef with your debugger vendor.
                  First of all there's no function String::number(quint32). All static number functions take two params. Debuggers don't usually know about default parameters. I tried it with windows debugger but it has problems with that (no matter if called from VS, CDB command line, QtCreator or WinDbg). It's possible that some optimizations are to blame as it works in certain contexts but not others (even with inlining disabled). If you need it often you can define a wrapper function for this in your own app (dead code will be gone in release mode anyway):

                  QString foo(quint32 bar) { return QString::number(bar); }
                  

                  At least my tests allowed me to call this successfully from the evaluator.

                  Is this some sort of sophisticated bullying?

                  I don't think so, no. The columns expand/collapse when you click on the empty space below. This feature is actually really useful when working with long expressions or long expression results (e.g. a cast to a function pointer taking couple of std container pointers really burns through your character count). Toggling in and out to see the whole expression or the value with one click is a time saver compared to adjusting via header handle.

                  1 Reply Last reply
                  3

                  • Login

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