{"id":62,"date":"2007-08-12T17:41:17","date_gmt":"2007-08-12T17:41:17","guid":{"rendered":"https:\/\/blogs.scummvm.org\/t7gre\/?p=62"},"modified":"2022-05-24T17:41:31","modified_gmt":"2022-05-24T17:41:31","slug":"valgrind-is-teh-magic","status":"publish","type":"post","link":"https:\/\/blogs.scummvm.org\/t7gre\/2007\/08\/12\/valgrind-is-teh-magic\/","title":{"rendered":"Valgrind is teh Magic"},"content":{"rendered":"<p>It seems that when your code is shonky (and you have an inkling that it might be), <a href=\"http:\/\/valgrind.org\">valgrind<\/a> is where to look. It&#8217;ll point to things, even when your program appears to be working, and say &#8220;err, are you sure that&#8217;s right? it looks like you&#8217;re being a bit of a muppet there&#8221;. And you can ignore it (I did, mostly cos it took me a while to figure out what its error messages meant), but eventually they&#8217;ll come up and bite you in the seg fault.<\/p>\n<p>In short, I feel it is going to be invaluable. Even more so than it has been tonight.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It seems that when your code is shonky (and you have an inkling that it might be), valgrind is where to look. It&#8217;ll point to things, even when your program appears to be working, and say &#8220;err, are you sure that&#8217;s right? it looks like you&#8217;re being a bit of a muppet there&#8221;. And you [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-62","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.scummvm.org\/t7gre\/wp-json\/wp\/v2\/posts\/62","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.scummvm.org\/t7gre\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.scummvm.org\/t7gre\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/t7gre\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.scummvm.org\/t7gre\/wp-json\/wp\/v2\/comments?post=62"}],"version-history":[{"count":2,"href":"https:\/\/blogs.scummvm.org\/t7gre\/wp-json\/wp\/v2\/posts\/62\/revisions"}],"predecessor-version":[{"id":64,"href":"https:\/\/blogs.scummvm.org\/t7gre\/wp-json\/wp\/v2\/posts\/62\/revisions\/64"}],"wp:attachment":[{"href":"https:\/\/blogs.scummvm.org\/t7gre\/wp-json\/wp\/v2\/media?parent=62"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/t7gre\/wp-json\/wp\/v2\/categories?post=62"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.scummvm.org\/t7gre\/wp-json\/wp\/v2\/tags?post=62"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}