Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Valgrind helps a lot though, it usually solves my memory errors. (If that doesn't do it, then it's either just a logic bug, or you have a really strange bug in the first place!) The main issue people have with it is that its terminal interface is almost always unusable (you get thousands of lines of gibberish text), and there aren't many good Valgrind GUI frontends available. Thankfully CLion has an integrated valgrind inspector that really helps a lot.


Valgrind is good but it's a dynamic tool, so it won't catch anything you don't exercise. There are better options, but there are usually some extra barriers to using them.

By usability I also meant getting it to work for your setup and learning how to use it.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: