title: How can I find the local variables in Heap file
body: <p>I have a j2ee application and monitoring it by visualVM.</p>
  
  <p>Lets say that I have a method like this:</p>
  
  <pre><code>public void doStuff(int param) {
      String s = getStringVariable(param);
      StringBuilder sb = new StringBuilder();
      //Do stuff with sb object
  }
  </code></pre>
  
  <p>From the thread tap, I can see that some of my threads stuck in the above method. So I have generated a heap dump file to figure out what is s and sb contains.</p>
  
  <p>But how can I do that? I am using Eclipse Memory Analyzer.</p>