Skip to content
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

Frequently hitting "breakpoint.lua:95: connect: No such file or directory" #51

Closed
lanza opened this issue Jan 22, 2019 · 2 comments
Closed
Assignees
Labels

Comments

@lanza
Copy link
Contributor

lanza commented Jan 22, 2019

Error detected while processing function <lambda>1:
line    1:
E5108: Error while calling lua chunk for luaeval(): ...g/nvim/pack/minpac/start/nvim-gdb/lua/gdb/breakpoint.lua:95: connect: No such file or directory

This happens frequently upon just launching lldb.

Seems like the UDS isn't being created at some point? Can't make sense out of the moonscript syntax to really follow it.

@sakhnik
Copy link
Owner

sakhnik commented Jan 22, 2019

The function connect() is called from doQuery(). And I left a comment there hinting about the race. The debugger opens the other endpoint asynchronously, and can actually take more time than the client. Especially, if a bigger target is opened.
But when I look at the doQuery, it seems to try reconnecting until succeeds. Do breakpoint works for you eventually?
Sorry for the Moonscript, but it's actually easy to master, and very helpful in the bigger scale.

@sakhnik
Copy link
Owner

sakhnik commented Jan 22, 2019

I'm able to simulate the issue. It's obviously bad, and I'm going to fix it.

@sakhnik sakhnik self-assigned this Jan 22, 2019
@sakhnik sakhnik added the bug label Jan 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants