Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Can someone explain this little gem to me?
QtWS25 Last Chance

Can someone explain this little gem to me?

Scheduled Pinned Locked Moved Qt Creator and other tools
11 Posts 4 Posters 3.8k 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.
  • A Offline
    A Offline
    Asperamanca
    wrote on last edited by
    #1

    Qt Creator 2.4.1 on Suse/KDE Linux

    When I try to start the Valgrind memory analyzer, I get the following message:

    "You are trying to run the tool "Valgrind Memory Analyzer" on an application in Release mode.
    The tool is designed to be used in Release mode.

    Do you want to continue and run it in Release mode?"

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      What is the question?

      Do you have trouble parsing the message? It basically says: Use a debug build!

      With release build there is no way to map a address in the program back to the source code, so valgrind can only output "something is wrong at 0xdeadbeef" while with a debug build it can say "something is wrong in main.cpp line 42".

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

        What is the point of this message box?

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tobias.hunger
          wrote on last edited by
          #4

          See updated message...

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Asperamanca
            wrote on last edited by
            #5

            I quote:

            bq. The tool is designed to be used in Release mode.

            ...and this is not a typo by me.

            1 Reply Last reply
            0
            • G Offline
              G Offline
              goetz
              wrote on last edited by
              #6

              Best would be to open a bug report on the "bugtracker":https://bugreports.qt-project.org - this way the devs get the attention. I'm pretty sure that typo will be fixed in the next version then :)

              http://www.catb.org/~esr/faqs/smart-questions.html

              1 Reply Last reply
              0
              • A Offline
                A Offline
                andre
                wrote on last edited by
                #7

                I guess it should have read [quote]The tool is designed to be used in Debug mode.[/quote] and Tobias misread and thought it actually said that. Indeed, please open a bugreport, or better yet, send a submit a patch for Qt Creator. It can't be hard to find this mistake in the source of Creator.

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  tobias.hunger
                  wrote on last edited by
                  #8

                  Oh, I have misread the message, damn:-)

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    Asperamanca
                    wrote on last edited by
                    #9

                    Oh, I do know this "I read what it's supposed to say" thing...

                    1 Reply Last reply
                    0
                    • G Offline
                      G Offline
                      goetz
                      wrote on last edited by
                      #10

                      [quote author="Asperamanca" date="1330508427"]Oh, I do know this "I read what it's supposed to say" thing...[/quote]

                      That's why you need proofreading a book, a thesis, or even a forum post ;-)

                      http://www.catb.org/~esr/faqs/smart-questions.html

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        Asperamanca
                        wrote on last edited by
                        #11

                        Posted a bug report.

                        https://bugreports.qt-project.org/browse/QTCREATORBUG-7011

                        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