snare / voltron

A hacky debugger UI for hackers
MIT License
6.18k stars 414 forks source link

Exception <class 'ImportError'> raised while loading Voltron: No module named 'plugin' #71

Closed mobiphil closed 8 years ago

mobiphil commented 9 years ago

Hi,

just spent last 2-3 days in implementing a python server inside gdb, with some external views that can be started in different terminals (register, stack etc.). And accidentally bumped into this project! Briliant!!!!

just that... did not manage to make it working... got the error above.

default python is the same version for gdb and the one found in path (both are 3.4)

thanks in advance for your help

snare commented 9 years ago

Because originally it was only over domain sockets, then TCP as well, then HTTP because it was easy to tack on.

On 24 Feb 2015, at 5:56 am, mobi phil notifications@github.com wrote:

how is it going? Another observation: did not really understand the difference between the reason for distinction between tcp and http communication. If you use json in context of sockets, would be IMHO much better to go for a simplified API simple json over http (only) something like defined under http://jsonrpc.org/historical/json-rpc-over-http.html#http-header. This should work also over *IX domain sockets.

— Reply to this email directly or view it on GitHub.

snare commented 9 years ago

I've pushed out a few more Python 3 related commits, but there's still some more to do on Linux.

snare commented 9 years ago

Finally got around to looking at this again. Working for me on Ubuntu 14.04 with Python 3.4.0 now. The only outstanding things (that are worked around enough to not cause crashes) are dereferencing pointers in stack view and reading SSE registers. Both these things seem to be an issue executing some GDB API commands from the background thread, but I've not looked further into it yet.