Results 1 to 3 of 3

Thread: VIM + Xdebug = Error Code 5

  1. #1
    Join Date
    Jul 2006

    Question VIM + Xdebug = Error Code 5

    Hey guys,

    I'm a PHP developer and I've started using vim recently. I can get around pretty quick but I'm not a total pro yet.

    My issue is I followed this tutorial:

    for hooking xdebug up to vim for debugging local php. It seemed to work with out a hitch until I actually try and step through or run to a break point then I receive this error and it drops the connection:
    response xmlns:xdebug= xmlns=urn:debugger_protocol_v1 command=stack_get transaction_id=6
    error code=5 : Command not available (Is used for async commands. For instance if the engine is in state "run" than only "break
    command is not available
    It seems like there is a possible version miss match or I possibly missed something when I set it up. Any insight would be appreciated.

  2. #2
    Join Date
    Dec 2007
    United States

    Re: VIM + Xdebug = Error Code 5

    I suggest you post your issue to the xdebug mailing list:

    I bet you will get some help there. Good luck.

  3. #3
    Join Date
    Nov 2009

    Re: VIM + Xdebug = Error Code 5

    I had the same problem using xdebug + vim on ubuntu. The problem (for me) was that I was setting breakpoints on blank lines - make sure you put the breakpoint on a line with valid code!

    See also this thread:


Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts