Skip to content

Using "vim_server_script = vim" doesn't work correctly #7

@pietrushnic

Description

@pietrushnic

I try to use vimpdb on remote system through ssh connection . My ~/.vimpdbrc:
[vimpdb]
vim_client_script = vim
vim_server_script = vim
server_name = VIM
port = 6666

I set breakpoint in one of my project files and run project main file, when execution hit breakpoint new vim was launched but there is no code to debugging only vim welcome screen. When I try to quit vim using :q after short delay I got this python trace (I changed paths):

Runtime Exception caugth 'VIM' server name not available in server list:

Traceback (most recent call last):
File "src/main.py", line 62, in
exitStatus = app.RunApp(sys.argv)
File "/path/to/my/project/src/application.py", line 308, in RunApp
import vimpdb; vimpdb.set_trace()
File "/path/to/home/dir/lib/python2.7/site-packages/vimpdb-0.4.5-py2.7.egg/vimpdb/debugger.py", line 213, in set_trace
instance = make_instance()
File "/path/to/home/dir/lib/python2.7/site-packages/vimpdb-0.4.5-py2.7.egg/vimpdb/debugger.py", line 201, in make_instance
configuration = config.getConfiguration()
File "/path/to/home/dir/lib/python2.7/site-packages/vimpdb-0.4.5-py2.7.egg/vimpdb/config.py", line 105, in getConfiguration
Detector(config).check_serverlist()
File "/path/to/home/dir/lib/python2.7/site-packages/vimpdb-0.4.5-py2.7.egg/vimpdb/config.py", line 285, in check_serverlist
raise ValueError(msg % (self.server_name, serverlist))
ValueError: 'VIM' server name not available in server list:

Looks like server didn't start correctly. Is it possible to use vim editor (not gvim) as client and server with vimpdb module ?
My vimpdb module was installed in my $HOME directory /path/to/home/dir.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions