4 ms·
Is there a good tutorial on Valgrind for beginners? It’s a tool I’ve only ever seen praised so I’m curious to play with it a bit.
by jimberlage 3y ago
Is there a good tutorial on Valgrind for beginners? It’s a tool I’ve only ever seen praised so I’m curious to play with it a bit.
- gavinhoward 3y agoAs an avid Valgrind user, I don't know of one. But if you would like, I could post one to my blog. If you would like me to, contact me privately. [1] [1]: https://gavinhoward.com/contact/ https://gavinhoward.com/contact/
- kentonv 3y agoIn my experience all you really have to do is: 1. Write a test program that exercises your segfault. 2. Build it in debug mode. 3. Run `valgrind <my-program>` And it just tells you where your problem is. Not much more to it.