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. How to see Valgrind analyzer command line in QTCreator
Forum Updated to NodeBB v4.3 + New Features

How to see Valgrind analyzer command line in QTCreator

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
valgrindqtcreator 4.0.0command line
4 Posts 2 Posters 668 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.
  • G Offline
    G Offline
    galb1994
    wrote on 8 Apr 2021, 12:53 last edited by galb1994 4 Aug 2021, 13:22
    #1

    Hi.

    I am using the "Valgrind Memory Analyzer" tool of QTCreator and I would like to see the exact valgrind command that is being run whenever I use this tool.
    Is there a place to see all the commands printed or something like that? I did not manage to find such a thing. I would expect to see it around the "Application Output, General Messages...." toolbar, but couldn't find this.

    Thank you in advance

    J 1 Reply Last reply 8 Apr 2021, 13:27
    0
    • G galb1994
      8 Apr 2021, 12:53

      Hi.

      I am using the "Valgrind Memory Analyzer" tool of QTCreator and I would like to see the exact valgrind command that is being run whenever I use this tool.
      Is there a place to see all the commands printed or something like that? I did not manage to find such a thing. I would expect to see it around the "Application Output, General Messages...." toolbar, but couldn't find this.

      Thank you in advance

      J Online
      J Online
      JonB
      wrote on 8 Apr 2021, 13:27 last edited by JonB 4 Aug 2021, 13:28
      #2

      @galb1994
      When you run it it's shown in the Application Output pane at the bottom, like:

      valgrind --child-silent-after-fork=yes --xml-socket=127.0.0.1:34471 --log-socket=127.0.0.1:46091 --xml=yes --smc-check=stack --tool=memcheck --gen-suppressions=all --track-origins=yes --leak-check=summary --num-callers=25 /home/jon/AtH/debug/AtH
      
      1 Reply Last reply
      0
      • G Offline
        G Offline
        galb1994
        wrote on 8 Apr 2021, 13:41 last edited by
        #3

        HI @JonB, thank you for your response.
        Can it be that this is some matter of "verbosity" in QTCrator that I can set? Because under Application Output, the only message I see that is related to the Valgrind run is:
        Analyzing memory of <program name>
        ...
        Analyzing finished.

        Thanks

        J 1 Reply Last reply 8 Apr 2021, 17:20
        0
        • G galb1994
          8 Apr 2021, 13:41

          HI @JonB, thank you for your response.
          Can it be that this is some matter of "verbosity" in QTCrator that I can set? Because under Application Output, the only message I see that is related to the Valgrind run is:
          Analyzing memory of <program name>
          ...
          Analyzing finished.

          Thanks

          J Online
          J Online
          JonB
          wrote on 8 Apr 2021, 17:20 last edited by
          #4

          @galb1994
          I believe everything of mine in Creator is on whatever the defaults are. I do assume you are Linux and not Win/Mac? I will be on whatever Creator comes with Ubuntu 20.04 apt-get (unless I fetch it myself, I forget).

          1 Reply Last reply
          0

          2/4

          8 Apr 2021, 13:27

          • Login

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