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 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.

    mrjjM 1 Reply Last reply
    1
    • S surajeet

      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.

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @surajeet
      Hi
      Can you check this setting ?
      alt text

      S 1 Reply Last reply
      7
      • mrjjM mrjj

        @surajeet
        Hi
        Can you check this setting ?
        alt text

        S Offline
        S Offline
        surajeet
        wrote on last edited by
        #3

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

        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