CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 14 of 14

Thread: Leak detectors

  1. #1
    Join Date
    Nov 2011
    Posts
    21

    Leak detectors

    Who can tell me where can I gate a good leak detector o_0?

  2. #2
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    3,654

    Re: Leak detectors

    What's wrong with the one provided by MSVC?
    Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are, by
    definition, not smart enough to debug it.
    - Brian W. Kernighan

    To enhance your chance's of getting an answer be sure to read
    http://www.codeguru.com/forum/announ...nouncementid=6
    and http://www.codeguru.com/forum/showthread.php?t=366302 before posting

    Refresh your memory on formatting tags here
    http://www.codeguru.com/forum/misc.php?do=bbcode

    Get your free MS compiler here
    https://visualstudio.microsoft.com/vs

  3. #3
    Join Date
    Nov 2011
    Posts
    9

    Re: Leak detectors

    you can use for free or buy it. As for my choice it became deliker. I recommend

  4. #4
    Join Date
    Mar 2001
    Posts
    2,529

    Re: Leak detectors

    Have a look at Valgrind:

    http://valgrind.org/

    Visual Leak Detector:
    http://vld.codeplex.com/

    Detector from CP that leverages .net:
    http://www.codeproject.com/KB/applic...eakfinder.aspx

    Also Windbg, Microsoft's debugger.
    Last edited by ahoodin; December 7th, 2011 at 08:18 AM. Reason: added note
    ahoodin
    To keep the plot moving, that's why.

  5. #5
    Join Date
    Dec 2011
    Location
    Bucharest, Romania
    Posts
    29

    Thumbs down Re: Leak detectors

    there is no such thing as "leak detector" in software. you may follow article1 on data recovery&computing@wikipedia, companies publish certificates for proof and privacy acknowledgements
    Last edited by john wiley; December 20th, 2011 at 03:57 PM. Reason: microsoft

  6. #6
    Join Date
    Oct 2006
    Location
    Sweden
    Posts
    3,654

    Re: Leak detectors

    Quote Originally Posted by john wiley View Post
    there is no such thing as "leak detector" in software. you may follow article1 on data recovery&computing@wikipedia, companies publish certificates for proof and privacy acknowledgements
    What on earth has CRC to do with this subject?
    Debugging is twice as hard as writing the code in the first place.
    Therefore, if you write the code as cleverly as possible, you are, by
    definition, not smart enough to debug it.
    - Brian W. Kernighan

    To enhance your chance's of getting an answer be sure to read
    http://www.codeguru.com/forum/announ...nouncementid=6
    and http://www.codeguru.com/forum/showthread.php?t=366302 before posting

    Refresh your memory on formatting tags here
    http://www.codeguru.com/forum/misc.php?do=bbcode

    Get your free MS compiler here
    https://visualstudio.microsoft.com/vs

  7. #7
    Join Date
    Mar 2001
    Posts
    2,529

    Re: Leak detectors

    Quote Originally Posted by john wiley View Post
    there is no such thing as "leak detector" in software. you may follow article1 on data recovery&computing@wikipedia, companies publish certificates for proof and privacy acknowledgements
    I didn't coin the name. So how many fish does it take to change a light bulb?
    ahoodin
    To keep the plot moving, that's why.

  8. #8
    Join Date
    Jan 2012
    Location
    Belleville, Michigan, USA
    Posts
    13

    Re: Leak detectors

    Regarding BoundsChecker, the reports of our product's death have been greatly exaggerated. Not that our previous corporate owners didn't try...

    Anyway, the product line formerly owned by NuMega Technologies was purchased by Micro Focus (of COBOL fame). DevPartner Studio (which includes BoundsChecker, TrueTime, TrueCoverage and CodeReview) is alive still, and with limited staff we continue to update, sell and maintain the product.

    The current version supports X86 and X64 applications on X86 and X64 machines (Windows XP SP3 through Windows 7 SP1), and integrates fully with Visual Studio 2005, 2008 and 2010. Minus the IDE integration, we also continue to work with Visual Studio 6 and 2003. We have nearly completed our support for the next release of Visual Studio as well.

  9. #9
    Join Date
    Mar 2001
    Posts
    2,529

    Re: Leak detectors

    Looks like SoftIce was discontinued. That sucks. I preferred debugging device drivers with SoftIce to WinDBG.
    ahoodin
    To keep the plot moving, that's why.

  10. #10
    Join Date
    Jan 2012
    Location
    Belleville, Michigan, USA
    Posts
    13

    Re: Leak detectors

    Quote Originally Posted by ahoodin View Post
    Looks like SoftIce was discontinued. That sucks. I preferred debugging device drivers with SoftIce to WinDBG.
    I vastly prefer SoftICE too, having used in many a time from the 1980s through about 2005. Unfortunately, the code we have for it does not support anything newer than Windows XP. Supposedly it works on XP SP3, but I haven't been able to verify that for myself.

    The product is on our short list for revival, if we can get more budget for developers, which in turn will depend on whether or not we can grow the sales of DevPartner Studio. We certainly have enough enquiries about the product. The main problem at the moment is that none of us is quite the godlike guru of the type that wrote the product in the first place, and Microsoft has only made the job of getting it to work tougher with Windows Vista and Windows 7, let alone the upcoming Windows 8.

    Disclosure: If it isn't obvious already, I work for Micro Focus on the DevPartner Studio team.

  11. #11
    Join Date
    Mar 2001
    Posts
    2,529

    Re: Leak detectors

    Well nice ta meet ya rpapo! Welcome to CG!
    ahoodin
    To keep the plot moving, that's why.

  12. #12
    Join Date
    Nov 2011
    Posts
    21

    Re: Leak detectors

    Quote Originally Posted by StarDrago View Post
    you can use for free or buy it. As for my choice it became deliker. I recommend
    deliker = deleaker ?

  13. #13
    Join Date
    Mar 2001
    Posts
    2,529

    Re: Leak detectors

    Maybe he meant Deleaker Add-in for Visual C++ 1.2 - KraySi.ru. I have no idea what that is other than an obscure Add In for some version of Visual Studio. LOL.
    ahoodin
    To keep the plot moving, that's why.

  14. #14
    Join Date
    Nov 2011
    Posts
    21

    Cool Re: Leak detectors

    Quote Originally Posted by ahoodin View Post
    Maybe he meant Deleaker Add-in for Visual C++ 1.2 - KraySi.ru. I have no idea what that is other than an obscure Add In for some version of Visual Studio. LOL.
    It's powerful tool for debugging memory and GDI leaks.

    "Deleaker is a run-time error detection and debugging tool for Visual C++ developers. Deleaker is a really useful add-in for Visual Studio that helps you to analyze programming errors, many of which are unique to Visual C++. With Deleaker you can detect and localize resource leaks such as memory, GDI and USER objects, handles" by www.deleaker.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured