Forgive me if this is an ignorant question, I'm not exactly an expert programmer just curious. Is it possible to read the working memory, say for an instance of a class, from inside a running program?
I know you can do something like println(theInstance.getClass());
and it will give you the memory address of the instance (I'm assuming thats what it is). I'm wondering if can do something like byte[]memory = theInstance.getClass().getMemory(); println(toString(memory));
I know thats all made up but just to illustrate.