gotcha / vimpdb

Pdb and Vim integration
MIT License
201 stars 22 forks source link

"continue" command is broken after a breakpoint has been set #3

Closed gotcha closed 14 years ago

gotcha commented 14 years ago

Version: 0.3.5

Reported by Cedric Macquat :

command: b c:\view\RAK\workspace\Offerator\src\Offerator.py:3555 sent: :call PDB_display_feedback(['Breakpoint 1 at c:\view\rak\workspace\off erator\src\offerator.py:3555'])

command: c sent: :call PDB_display_feedback(['> c:\view\rak\workspace\offerator\src\o fferator.py(3555)()', '-> parameters = [myfloat(x) for x in row]']) sent: :call PDB_show_file_at_line("c:/view/rak/workspace/offerator/src/offerator .py", "3555")

Traceback (most recent call last): File "Offerator.py", line 3555, in parameters = [myfloat(x) for x in row] File "Offerator.py", line 3555, in parameters = [myfloat(x) for x in row] File "c:\python25\lib\site-packages\vimpdb-0.3.5-py2.5.egg\vimpdb\debugger.py" , line 76, in trace_dispatch return Pdb.trace_dispatch(self, frame, event, arg) File "C:\Python25\lib\bdb.py", line 48, in trace_dispatch return self.dispatch_line(frame) File "C:\Python25\lib\bdb.py", line 66, in dispatch_line self.user_line(frame) File "C:\Python25\lib\pdb.py", line 144, in user_line self.interaction(frame, None) File "C:\Python25\lib\pdb.py", line 187, in interaction self.cmdloop() File "c:\python25\lib\site-packages\vimpdb-0.3.5-py2.5.egg\vimpdb\debugger.py" , line 85, in cmdloop line = self.vim.waitFor(self) File "c:\python25\lib\site-packages\vimpdb-0.3.5-py2.5.egg\vimpdb\proxy.py", l ine 51, in waitFor (message, address) = self.server.recvfrom(self.BUFLEN) File "C:\Python25\lib\socket.py", line 141, in _dummy raise error(EBADF, 'Bad file descriptor') socket.error: (9, 'Bad file descriptor')

gotcha commented 14 years ago

Fixed with 3a6806c46fa7bbc8112fabd64cb613655524efe3 and e67ee7eb1169294eeec0e4050a77d26355998b36