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. Debug QT programs with visual Studio , how to find memory leak

Debug QT programs with visual Studio , how to find memory leak

Scheduled Pinned Locked Moved General and Desktop
5 Posts 5 Posters 5.6k 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.
  • S Offline
    S Offline
    summerheart
    wrote on last edited by
    #1

    debug QT programs with visual Studio , how to find memory leak

    1 Reply Last reply
    0
    • F Offline
      F Offline
      Franzk
      wrote on last edited by
      #2

      MSVC has some code stuff that does memory checking, and you can always go for solutions like MemoryValidator by SoftwareVerify. Maybe there are also some free tools available, but that I don't know. Memory management checking is by the way not related to Qt.

      "Horse sense is the thing a horse has which keeps it from betting on people." -- W.C. Fields

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

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

        I used Purify Plus for this purpose. but it's commercial tool:(

        1 Reply Last reply
        0
        • C Offline
          C Offline
          cincirin
          wrote on last edited by
          #4

          You can use one of these two free memory leak detectors:
          "Visual Leak Detector":http://www.codeproject.com/KB/applications/visualleakdetector.aspx
          "Denomo":http://www.kbasm.com/download.html

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

            Have a look at these forum threads:

            • http://developer.qt.nokia.com/forums/viewthread/1924
            • http://developer.qt.nokia.com/forums/viewthread/2248/
            • http://developer.qt.nokia.com/forums/viewthread/2747
            • http://developer.qt.nokia.com/forums/viewthread/3475
            • http://developer.qt.nokia.com/forums/viewthread/3953/

            And these threads on forum nokia:

            • http://wiki.forum.nokia.com/index.php/Detecting_memory_leaks_with_HookLogger
            • http://wiki.forum.nokia.com/index.php/TSS000255_-_How_to_track_down_memory_leaks_in_C++

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

            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