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. Can not see values of locals in QtCreator debug mode
QtWS25 Last Chance

Can not see values of locals in QtCreator debug mode

Scheduled Pinned Locked Moved Solved General and Desktop
qtcreatorc++debuggerlocals
3 Posts 2 Posters 4.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.
  • S Offline
    S Offline
    surajeet
    wrote on 14 Mar 2017, 15:15 last edited by
    #1

    I am working on a Qt5.7.0 (using C++ 4.9.1) project for which I am using QtCreator 4.1.0 as IDE. When running the application in debug mode, I am trying to find out the values of Locals and Expressions on a BreakPoint. But I can't see the values . It shows some values which are not so important for me (Screenshot added for reference).

    enter image description here

    As you can see, there are some QStrings, values of which are not being shown, instead it's showing the addresses, I think. Same things also happening even for int.

    Is there any way to fix this?

    FYI, it used to be perfect even 2 days ago. I don't know what got changed accidentally.

    M 1 Reply Last reply 14 Mar 2017, 19:51
    1
    • S surajeet
      14 Mar 2017, 15:15

      I am working on a Qt5.7.0 (using C++ 4.9.1) project for which I am using QtCreator 4.1.0 as IDE. When running the application in debug mode, I am trying to find out the values of Locals and Expressions on a BreakPoint. But I can't see the values . It shows some values which are not so important for me (Screenshot added for reference).

      enter image description here

      As you can see, there are some QStrings, values of which are not being shown, instead it's showing the addresses, I think. Same things also happening even for int.

      Is there any way to fix this?

      FYI, it used to be perfect even 2 days ago. I don't know what got changed accidentally.

      M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 14 Mar 2017, 19:51 last edited by
      #2

      @surajeet
      Hi
      Can you check this setting ?
      alt text

      S 1 Reply Last reply 15 Mar 2017, 05:59
      7
      • M mrjj
        14 Mar 2017, 19:51

        @surajeet
        Hi
        Can you check this setting ?
        alt text

        S Offline
        S Offline
        surajeet
        wrote on 15 Mar 2017, 05:59 last edited by
        #3

        @mrjj , Thanks bud. It worked. You have just made my life easier.

        1 Reply Last reply
        0

        2/3

        14 Mar 2017, 19:51

        • Login

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