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 687 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 last edited by galb1994
    #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

    JonBJ 1 Reply Last reply
    0
    • G galb1994

      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

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #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 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

        JonBJ 1 Reply Last reply
        0
        • G galb1994

          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

          JonBJ Offline
          JonBJ Offline
          JonB
          wrote on 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

          • Login

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