Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Solved Can not see values of locals in QtCreator debug mode

    General and Desktop
    qtcreator c++ debugger locals
    2
    3
    3456
    Loading More Posts
    • 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
      surajeet last edited by

      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.

      mrjj 1 Reply Last reply Reply Quote 1
      • mrjj
        mrjj Lifetime Qt Champion @surajeet last edited by

        @surajeet
        Hi
        Can you check this setting ?
        alt text

        S 1 Reply Last reply Reply Quote 6
        • S
          surajeet @mrjj last edited by

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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post