title: Get objects involved in Java stacktrace
body: <p>I can retreive the current stacktrace using <code>Thread.currentThread().getStackTrace()</code> but this gives me only the classes involved in the call. Is it possible to retreive the object instances involved in the call trace? Maybe some kind of library which allows me to retreive the objects from the heap?</p>
  
  <p>I have a problem which requires me to trace back to a Spring bean which indirectly created the object where i'm requesting the stack trace.</p>
  
  <p><strong>UPDATE</strong>
  If there's no builtin tool for this in Java i'm searching for an embeddable library which can do this for me in runtime.</p>