Using Valgrind to get stack traces
Sometimes I want to do some printf-style debugging where I print not only some values, but also the stack trace each time a particular code point is hit. GNU provides a backtrace() function that supposedly does this, but I tried it and got hopeless results, little more than code addresses. Fortunately, you can do this … Continue reading Using Valgrind to get stack traces
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed