If you are running Mac OS X and this is something that intrigues you, you should spend an afternoon or two playing around with F-Script[0]. It's a Smalltalk inspired language the runtime of which can be injected into running processes so that you can dynamically explore the process data structures in memory. For example this screenshot[1] displays the data structures of a running programming that you can explore à la Chrome devtools (the UI is a tad overwhelming at first). There's also this Automator script called F-Script Anywhere which adds an Automator service that let's you inject the F-Scipt runtime into a running process with a single click. It was originally made by Silvio H. Ferreira but I've made some tiny changes to make it run on Mavericks and Yosemite[2].
[0] https://en.wikipedia.org/wiki/F-Script_(programming_language...
[1] http://www.fscript.org/images/screenshots/objectBrowser.jpg