{"id":6,"date":"2003-05-02T12:05:25","date_gmt":"2003-05-02T11:05:25","guid":{"rendered":"http:\/\/www.nobugs.org\/blog\/archives\/2003\/05\/02\/i-can-see-clearly-now-the-bugs-have-gone\/"},"modified":"2003-05-02T12:05:25","modified_gmt":"2003-05-02T11:05:25","slug":"i-can-see-clearly-now-the-bugs-have-gone","status":"publish","type":"post","link":"https:\/\/www.nobugs.org\/blog\/archives\/2003\/05\/02\/i-can-see-clearly-now-the-bugs-have-gone\/","title":{"rendered":"I can see clearly now the bugs have gone"},"content":{"rendered":"<p>John Wiseman has a cool example of a <a href=\"http:\/\/www.lemonodor.com\/archives\/000001.html\">debugger visualization plugin<\/a>.   Why be content with little expandable tree views of your datastructures when you could have arbitary visualization plugins?  It&#8217;s hard to be excited about stuff like DevStudio&#8217;s <a href=\"http:\/\/www.codeguru.com\/debug\/autoexp.shtml\">autoexp.dat<\/a> when you see what is possible elsewhere.<\/p>\n<p>It&#8217;s harder to do this in C\/C++ than lisp\/smalltalk because you&#8217;re operating at the level of bytes and memory addresses rather than objects.  A visualization plugin for a C++ debugger would have to be ultra-careful not to dereference bad pointers or it would bring the whole debugger down.  Also, since objects in C++ don&#8217;t carry around much information about their type, you&#8217;d have to manually ensure that you update the plugin if someone adds a new data member to the type which the plugin shows.  Perhaps you can get enough information from the debug info.<\/p>\n<p>Hmm, so once again something which is easy in lisp or smalltalk becomes &#8220;possible, if you&#8217;re very careful&#8221; in C\/C++.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>John Wiseman has a cool example of a debugger visualization plugin. Why be content with little expandable tree views of your datastructures when you could have arbitary visualization plugins? It&#8217;s hard to be excited about stuff like DevStudio&#8217;s autoexp.dat when you see what is possible elsewhere. It&#8217;s harder to do this in C\/C++ than lisp\/smalltalk [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-6","post","type-post","status-publish","format-standard","hentry","category-programming"],"_links":{"self":[{"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/posts\/6","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":0,"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/posts\/6\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/media?parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/categories?post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nobugs.org\/blog\/wp-json\/wp\/v2\/tags?post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}