Any tools to track heap/stack corruptions?

Imperatorn johan_forsberg_86 at hotmail.com
Wed Feb 3 17:22:06 UTC 2021


On Wednesday, 3 February 2021 at 15:59:28 UTC, H. S. Teoh wrote:
> On Wed, Feb 03, 2021 at 03:47:34PM +0000, Imperatorn via 
> Digitalmars-d-learn wrote:
>> On Wednesday, 3 February 2021 at 14:00:23 UTC, JN wrote:
>> > [...]
> [...]
>> Or dustmite? 
>> https://dlang.org/blog/2020/04/13/dustmite-the-general-purpose-data-reduction-tool/
>
> Dustmite generally does not do well with errors that move 
> around and/or occasionally go away when the code changes 
> slightly.  It tends to misidentify the problem in such cases 
> and reduce to something that isn't related to the original 
> program.  It's more suitable for problems that are 100% 
> reliably reproduced.  Pointer bugs / memory corruption often do 
> not fall into that category.
>
>
> T

Yes, Valgrind is the way to go


More information about the Digitalmars-d-learn mailing list