'NoneType' object has no attribute 'step_into' with Python 3 support
See original GitHub issueTrying out v2-integration to get python 3 support, I can get the debugger to run and break, but as soon as I try to step, I get
'NoneType' object has no attribute 'step_into'
More details:
Vdebug will wait for a connection in the background Found connection, starting debugger Debugging session has ended Vdebug will wait for a connection in the background An error occured: <class ‘AttributeError’>^@Traceback (most recent call last):^@ File “/home/letharion/.vim/pythonx/vdebug/event.py”, line 524, in dispatch_event^@ Dispatcher.eventsname.run(*args)^@ File “/home/letharion/.vim/pythonx/vdebug/event.py”, line 331, in run^@ res = self.api.step_into()^@AttributeError: ‘NoneType’ object has no attribute ‘step_into’
It’s also interesting to note that when the debugger starts and the debuggerwatcher opens, it says Status: listening Listening on: 9000 Not connected
I don’t have a working setup with older versions anymore, but I don’t think it should say “Not connected” once those splits open up?
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)

Top Related StackOverflow Question
@BlackIkeEagle Today I started fresh with a new clone of vdebug, switched to v2-integration, and copied the plugin directory into my ~/.vim, I’m on e37e43509778d167af139b9879d329fdb944abbc
I have a PHP-based API, running under apache. I hit F10, get visual confirmation on breakpoint, F5, and get
Vdebug will wait for a connection in the background. When curl hits the API, initially, nothing happens. The request doesn’t finish, but neither does vim appear to react. When I hit F5 again, I get “Found connection, starting debugger Debugging session has ended Vdebug will wait for a connection in the background” The 4 splits open up though, so it looks like I’m in the debugger.Status is now “listening”, and I get a “Vdebug will wait for a connection in the background” message. The next curl request is patiently waiting for a response, so it appears a connection has been established. Trying F2, I now get
The next curl request finishes right away, so I send another one, which ends up waiting. Trying F4 now, I get
So I think the same issue is still present in the latest version of v2-integration.
It doesn’t work consistently for me, but when it does work these are the steps:
DebuggerStatussays “Not connected”'NoneType' object has no attribute 'detach'errors will appear)Found connection, starting debuggermessage appearsAlso possibly related: https://github.com/vim-vdebug/vdebug/issues/90