Qt Forum

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

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Can someone explain this little gem to me?

    Tools
    4
    11
    3260
    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.
    • A
      Asperamanca last edited by

      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 Reply Quote 0
      • T
        tobias.hunger last edited by

        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 Reply Quote 0
        • A
          Asperamanca last edited by

          What is the point of this message box?

          1 Reply Last reply Reply Quote 0
          • T
            tobias.hunger last edited by

            See updated message...

            1 Reply Last reply Reply Quote 0
            • A
              Asperamanca last edited by

              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 Reply Quote 0
              • G
                goetz last edited by

                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 Reply Quote 0
                • A
                  andre last edited by

                  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 Reply Quote 0
                  • T
                    tobias.hunger last edited by

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

                    1 Reply Last reply Reply Quote 0
                    • A
                      Asperamanca last edited by

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

                      1 Reply Last reply Reply Quote 0
                      • G
                        goetz last edited by

                        [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 Reply Quote 0
                        • A
                          Asperamanca last edited by

                          Posted a bug report.

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

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