-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reuse_server: kill/restart it after timeout #49
Comments
Yeah, I've noticed this issue in the past. For larger test suites, Vim hangs. I'm not sure if it's a bug with Vim, or some problem in the way I spawn processes, but I have no idea how to debug it, either :/. I'll consider your ideas about auto-restarting. For the moment, a quick fix is to use |
I've tried using |
|
But did you try it with the graphical version of Vim? What I'm saying is that, in my experience, the gui version doesn't hang.
That might make sense. I'll see about making that change and check if it breaks anything. In general, I'm not sure what exactly |
Ah, misunderstood it. gvim works for me, too. |
After a bunch (15-20) tests the suite from https://github.com/Vimjas/vim-python-pep8-indent stalls.
Adding some
puts
the last--remote-expr
isvim --servername VIMRUNNER0.687345666041246 --remote-expr feedkeys("iclass Foo(\<CR>")
In this case
vim --servername VIMRUNNER0.687345666041246 --remote-expr 1
hangs already.It would be nice if this could be detected and e.g. after a few seconds the server getting restarted.
A good idea might be to send a ping always
--remote-expr 1
and have a short timeout for this.It looks like a bug in Vim after all - I cannot pinpoin it to a single test, and I've not looked at
strace
too closely, butvim
is taking ~60% CPU.The text was updated successfully, but these errors were encountered: