[xdebug-general] Re: invalid or missing options

From: Derick Rethans <derick[@]xdebug.org>
Date: Thu, 19 Nov 2015 09:59:52 +0000 (GMT)

Hi,

It's probably better to not send HTML mail to this list, as it gets all
garbled... I had to reformat things myself to make it readable.

On Thu, 19 Nov 2015, Stefano Mtangoo wrote:

> try to create XDebug UI for my editor and so far I cannot run successfully and
> command. Each time I run any command I get Invalid or missing options. Reading
> the docs multiple times, I cannot see what argument am really missing. Here is
> the output of the XDebug I get error below.
> Note I have read almost all posts in mailing list with same error I cannot
> find what's wrong yet.
>
> 22:06:52: RUN CALLED
> 22:06:58: Got connection from 127.0.0.1:52005
> 22:06:58: <?xml version="1.0" encoding="iso-8859-1"?>
> <init xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" fileuri="file:///C:/wamp/www/index.php" language="PHP" protocol_version="1.0" appid="4752" idekey="studio">
> <engine version="2.2.5"><![CDATA[Xdebug]]></engine>

You really should not be using Xdebug 2.2.5 anymore, please use 2.3.3 (or
rather, 2.4.0beta1 if you're just testing).

> <author><![CDATA[Derick Rethans]]></author>
> <url><![CDATA[http://xdebug.org]]></url>
> <copyright><![CDATA[Copyright (c) 2002-2014 by Derick Rethans]]></copyright>
> </init>
>
> 22:06:58: SENT COMMAND:breakpoint_set -i 1 -f file:///C:/wamp/www/index.php -n 248 -t line
> 22:06:58: SENT COMMAND:run -i 2
> 22:06:58: SENT COMMAND:breakpoint_list -i 3

In all three cases, you seem to have an extra space before the "-i x", and for
the breakpoint_set, one after "-i 1" too. You shouldn't do that. If that
doesn't fix it, you might have some other random characters, which I can't see
from your post.

cheers,
Derick

-- 
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
twitter: @derickr and @xdebug
Received on Thu Nov 19 2015 - 09:59:53 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST