On Fri, Apr 26, 2013 at 10:31 PM, Lukas Tönne wrote:
> You wrote:
>
> "Pros: Can use a breakpoint to investigate the point when error happens"
>
> I'd like to just point out that you can do that with valgrind + gdb too:
> http://valgrind.org/docs/manual/manual-core-adv.html#manual-core-adv.gdbserv
You wrote:
"Pros: Can use a breakpoint to investigate the point when error happens"
I'd like to just point out that you can do that with valgrind + gdb too:
http://valgrind.org/docs/manual/manual-core-adv.html#manual-core-adv.gdbserver-gdb
This has proved valuable to me on more than one occasion
Just wrote down some info about how to use address sanitizer (now
included with GCC),
since I've found it useful recently and how to use with breakpoints
isn't so obvious.
Others who run into memory bugs once in a while may find it handy.
wiki.blender.org/index.php/Dev:Doc/Tools/Debugging/GCC_Add