[Errno 48] Address already in use when trying to attach gdb through yotta

I’ve just started playing around with yotta and I get the error:

File "/usr/local/Cellar/python/2.7.10_2/Frameworks/Python.framework/Versions/2.7/lib/python2.7/socket.py", line 228, in meth
return getattr(self._sock,name)(*args)
error: [Errno 48] Address already in use

when trying to attach the debugger to any process by using the yotta debug tool. It persists even after a reboot and after I kill any processes related to python.

Has anybody seen this before?

Haven’t seen that – valinor configures the gdbserver to use port 3333 (it should probably use a more obscure port…), maybe you have something else on your system using that port?

(just to update: I can reproduce this now with latest dependencies, tracking here: Address already in use (linux and OS X) · Issue #16 · ARMmbed/valinor · GitHub)