4 ms·
In 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>
by kentonv 3y ago
In 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.