Mbed forum

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

(Andrew Brannan) #1

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?

(James Crosby) #2

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?

(James Crosby) #3

(just to update: I can reproduce this now with latest dependencies, tracking here: https://github.com/ARMmbed/valinor/issues/16)