memory corruption detection tool needed
-
State: We are developing desktop applications in VB.NET with .NET 2.0 and Visual Studio 2005. We use some 3rd party .NET and Win32 DLLs that are well tested. Nonetheless we sometimes encounter non-reproducible errors that look very much like memory corruption. (I.e. elements of a strongly typed array changing type in the middle of the array on their own, variables containing nothing even though a few lines of code earlier they are initialized). We are not sure if the memory problems originate from our code of from the libraries we use, but we lack any tool to validate that it is not our code. Question: What is a good VB.NET memory corruption detection tool? Integration into Visual Studio would be nice, but is not a must. Commercial or open source is both fine. Thanks, Ingmar
-
State: We are developing desktop applications in VB.NET with .NET 2.0 and Visual Studio 2005. We use some 3rd party .NET and Win32 DLLs that are well tested. Nonetheless we sometimes encounter non-reproducible errors that look very much like memory corruption. (I.e. elements of a strongly typed array changing type in the middle of the array on their own, variables containing nothing even though a few lines of code earlier they are initialized). We are not sure if the memory problems originate from our code of from the libraries we use, but we lack any tool to validate that it is not our code. Question: What is a good VB.NET memory corruption detection tool? Integration into Visual Studio would be nice, but is not a must. Commercial or open source is both fine. Thanks, Ingmar
The only tool I've ever heard of for that is IBM's Rational Purify. I've never used, nor seen it, so I can't vouch for it's effectiveness.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
State: We are developing desktop applications in VB.NET with .NET 2.0 and Visual Studio 2005. We use some 3rd party .NET and Win32 DLLs that are well tested. Nonetheless we sometimes encounter non-reproducible errors that look very much like memory corruption. (I.e. elements of a strongly typed array changing type in the middle of the array on their own, variables containing nothing even though a few lines of code earlier they are initialized). We are not sure if the memory problems originate from our code of from the libraries we use, but we lack any tool to validate that it is not our code. Question: What is a good VB.NET memory corruption detection tool? Integration into Visual Studio would be nice, but is not a must. Commercial or open source is both fine. Thanks, Ingmar
Hi, not really an answer to your question, but here it goes: you can do two tests without any specialized tools: 1. run other software on the same machine 2. run your app on another machine if 1. seems OK and 2. fails, you probably have bugs (such as thread synchronization problems); if 1. fails and 2. seems OK, your machine most likely has a problem. :)
Luc Pattyn [Forum Guidelines] [My Articles]
this months tips: - use PRE tags to preserve formatting when showing multi-line code snippets - before you ask a question here, search CodeProject, then Google