Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix debugger connection not establishing.

Non-blocking socket listener function was not returning the socket and
address. Introduced this when I moved the listener into its own function
and didn't test my work :)
  • Loading branch information...
commit f0fdaf74c006671a5bfe8a831473c47d1f193077 1 parent 72bbb27
Artem Nezvigin authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  plugin/python/vdebug/dbgp.py
2  plugin/python/vdebug/dbgp.py
@@ -421,7 +421,7 @@ def listen(self, serv, timeout):
421 421 raise socket.timeout
422 422 try:
423 423 vim.eval("getchar(0)")
424   - (self.sock, self.address) = serv.accept()
  424 + return serv.accept()
425 425 except socket.error:
426 426 pass
427 427 except vim.error:

0 comments on commit f0fdaf7

Please sign in to comment.
Something went wrong with that request. Please try again.