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

VdebugEval error "required argument [l:length] missing" #157

Closed
tygeng opened this issue Apr 25, 2014 · 3 comments
Closed

VdebugEval error "required argument [l:length] missing" #157

tygeng opened this issue Apr 25, 2014 · 3 comments

Comments

@tygeng
Copy link

tygeng commented Apr 25, 2014

Hi, this plugin is amazing. However, I encountered this error when I try to issue :VdebugEval.

I am a Linux (XUbuntu 13.04) user and I am using Python 2.7.4 with vim 7.3.1314. I followed the help doc and used Komodo-PythonRemote 8.5.3 for linux x86-64.

Whenever I try to evaluate some variables/expressions with F12 or e or :VdebugEval , I get this error in the debug log window:
- [ERROR] {Fri 25 2014 16:53:39} required argument [l:length] missing

Any ideas? Thanks!

@joonty
Copy link
Collaborator

joonty commented Jun 5, 2014

Hi, this is actually addressed in the documentation, in the troubleshooting section.

Take a look at :help VdebugSetUpPython for information on applying a patch to the debugger engine to allow eval to work with Python.

Thanks

@joonty joonty closed this as completed Jun 5, 2014
@drewverlee
Copy link

@joonty
Same problem as above.

Steps to reproduce:

  1. install plugin using vundle
  2. download and extract Komodo-PythonRemoteDebugging-8.5.4-86985-linux-x86_64.tar.gz
  3. mv dbgp dir to where pydbgp exec file
  4. download patchs from https://gist.github.com/3348076
  5. apply patch (output below)

➜ 854 git:(master) ✗ patch dbgp/client.py < client-8.5.0.patch
patching file dbgp/client.py
patch: **** '---' expected at line 8 of patch

  1. form inside Gvim run :VdebugStart
  2. from commnadline run: python -S path/to/pydbgp -d localhost:9000 myscript.py
  3. debug session starts
  4. set a break point
  5. run
    11.. VdebugEval -> complains about length.

@doronbehar
Copy link

doronbehar commented Sep 21, 2019

I think the patch is outdated for the latest version.

I've installed the version available in pip (packaged / maintained thanks to @agroszer) and then manually edited client.py according to the original patch and the problem was fixed.

Maybe @agroszer would be willing to patch it in his version, as part of the packaging process of every release? Or maybe we should nag upstream about this issue? Although we are not using their IDEs? What do you guys think?

EDIT: Here's my version of the patch: https://gist.github.com/doronbehar/2a8e9a76cb0d9c72caf8ab0b9847b4bc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants