title: Unable to locate gdb frame for python bytecode interpreter
body: <p>I ty to get a stacktrace from the running python process, using gdb. The python is running in an virtualenv managed by pyenv, on Ubuntu 16.4.</p>
  
  <p>I tried this:
  <code>sudo gdb ~/.pyenv/versions/bla/bin/python -p &lt;PID&gt;</code></p>
  
  <p>Then I do not have the extensions available, so I do</p>
  
  <p><code>symbol-file /usr/bin/python3.5-dbg</code></p>
  
  <p>Then when I run py-list, I get the following error:</p>
  
  <p>Unable to locate gdb frame for python bytecode interpreter.</p>
  
  <p>Also tried:
  <code>sudo gdb /usr/bin/python3.5-dbg -p &lt;PID&gt;</code> and same error.</p>
  
  <p>Any other way? Or an easier approach?</p>