Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Using Valgrind memory analyzer with console app
Forum Updated to NodeBB v4.3 + New Features

Using Valgrind memory analyzer with console app

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 506 Views 1 Watching
  • 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.
  • J Offline
    J Offline
    Jyang772
    wrote on last edited by
    #1

    I have a console application that takes user input and I want to run the memory analyzer to detect memory leaks. I have "Run in Terminal" checked, and running the application by itself in Qt Creator is fine.

    However, running the application with valgrind memory analyzer doesn't open a terminal window. Instead it outputs to Application Output. I can't enter any input and valgrind just waits for the program to continue.

    How do I have the program run in terminal with valgrind memory analyzer? I am on Ubuntu 14.04 LTS.

    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