title: Python debugging in Eclipse+PyDev
body: <p>I try Eclipse+PyDev pair for some of my work. (Eclipse v3.5.0 + PyDev v1.5.6) I couldn't find a way to expose all of my variables to the PyDev console (Through PyDev console -> Console for current active editor option) I use a simple code to describe the issue. When I step-by-step go through the code I can't access my "x" variable from the console. It is viewed on Variables tab, but that's not really what I want.</p>
  
  <p>Any help is appreciate.</p>
  
  <p>See my screenshot for better description:</p>
  
  <p><a href="https://i.stack.imgur.com/uERDL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uERDL.png" alt="alt text"></a>
  </p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Assume adding a simple func like:</p>
  
  <pre><code>def myfunc(x):
      return x**x
  </code></pre>
  
  <p>When I debug with the function added in the code I can access myfunc from the console easily. (Type myfunc and it will be available after this automatic execution: </p>
  
  <pre><code>&gt;&gt;&gt; from part2.test import myfunc
  &gt;&gt;&gt; myfunc
  </code></pre>
  
  <p>Then when I do myfunc(5) it acts just like in the Python interpreter. It would be so useful to access variables in the similar fashion for debugging my code. I have big arrays and I do various tests and operations during debug process. Like:
  Get my x and do x.sum(), later do x[::10], or transpose operate with other arrays observe results, experiment etc...</p>
  
  <p>Hope there will be a better solution.</p>