ludovicpelle / vim-xdebug Goto Github PK
View Code? Open in Web Editor NEWa remote debugger interface to the DBGp protocol (tested only with XDebug/PHP)
License: Other
a remote debugger interface to the DBGp protocol (tested only with XDebug/PHP)
License: Other
(<type 'exceptions.SystemError'>, SystemError('NULL result without error in PyObject_Call',), <traceback object at 0x281ab90>)
File "/home/ultrizec/.vim/plugin/debugger.py", line 1079, in debugger_run
debugger.run()
File "/home/ultrizec/.vim/plugin/debugger.py", line 929, in run
self.protocol.accept()
File "/home/ultrizec/.vim/plugin/debugger.py", line 552, in accept
print 'waiting for a new connection on port '+str(self.port)+' for 5 seconds...'
Any thoughts?
This is what my phython is loading:
[ultrizec@sparknd plugin]$ python -v
import zipimport # builtin
import site # precompiled from /usr/lib64/python2.7/site.pyc
import os # precompiled from /usr/lib64/python2.7/os.pyc
import errno # builtin
import posix # builtin
import posixpath # precompiled from /usr/lib64/python2.7/posixpath.pyc
import stat # precompiled from /usr/lib64/python2.7/stat.pyc
import genericpath # precompiled from /usr/lib64/python2.7/genericpath.pyc
import warnings # precompiled from /usr/lib64/python2.7/warnings.pyc
import linecache # precompiled from /usr/lib64/python2.7/linecache.pyc
import types # precompiled from /usr/lib64/python2.7/types.pyc
import UserDict # precompiled from /usr/lib64/python2.7/UserDict.pyc
import _abcoll # precompiled from /usr/lib64/python2.7/_abcoll.pyc
import abc # precompiled from /usr/lib64/python2.7/abc.pyc
import _weakrefset # precompiled from /usr/lib64/python2.7/_weakrefset.pyc
import _weakref # builtin
import copy_reg # precompiled from /usr/lib64/python2.7/copy_reg.pyc
import traceback # precompiled from /usr/lib64/python2.7/traceback.pyc
import sysconfig # precompiled from /usr/lib64/python2.7/sysconfig.pyc
import re # precompiled from /usr/lib64/python2.7/re.pyc
import sre_compile # precompiled from /usr/lib64/python2.7/sre_compile.pyc
import _sre # builtin
import sre_parse # precompiled from /usr/lib64/python2.7/sre_parse.pyc
import sre_constants # precompiled from /usr/lib64/python2.7/sre_constants.pyc
import encodings # directory /usr/lib64/python2.7/encodings
import encodings # precompiled from /usr/lib64/python2.7/encodings/init.pyc
import codecs # precompiled from /usr/lib64/python2.7/codecs.pyc
import _codecs # builtin
import encodings.aliases # precompiled from /usr/lib64/python2.7/encodings/aliases.pyc
import encodings.utf_8 # precompiled from /usr/lib64/python2.7/encodings/utf_8.pyc
Python 2.7.3 (default, Jul 24 2012, 10:05:38)
[GCC 4.7.0 20120507 (Red Hat 4.7.0-5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
dlopen("/usr/lib64/python2.7/lib-dynload/readline.so", 2);
import readline # dynamically loaded from /usr/lib64/python2.7/lib-dynload/readline.so
Hi,
I'm new to debugging using xdebug, so for checking the value of a variable with your plugin I think these are the steps:
It works ok, but for me these are too much steps just to avoid the typical var_dump($variable);die; line.
Is there anything am I doing wrong? is there any other quicker way to check the value of a variable?
Javi
Hi,
Cleaning a bit the Python code (the style and the code itself) could be a good idea.
Checking the compatibility with Python3 could also be nice.
What do you think about it?
Hi,
after finishing your plugin pressing F6, I try to create another breakpoint with : Bp but I doesn't create it..I have to do again :Bp to create it..any idea? any workaround?
I'm using Ubuntu 12.04/XFCE and Vim 7.3.429
Javi
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.