On Thu, 16 Nov 2006, Manu wrote:
> I am trying to use XDebug and remote debugging... and when configure like this
[snip php.ini settings]
> I get the following with the client
> Xdebug Simple DBGp client (0.9.0)
> Copyright 2002-2004 by Derick Rethans.
> - libedit support: enabled
>
> Waiting for debug server to connect.
> Connect
>
> (cmd) next
> <response command="next"><error code="3"></error></response>
> (cmd) step
> <response command="step"><error code="3"></error></response>
> (cmd) break
> <response command="break"><error code="3"></error></response>
> (cmd)
>
>
> Why do I keep on receiving error code 3.
Because you are missing required arguments (the -i <id> for example).
See the documentation of the DBGp protocol at
http://xdebug.org/docs-dbgp.php#ide-to-debugger-engine-communications
> I look at the doc and nothing explains how to use it with gdb... Any
> how to somewhere? or is something broken?
There is no documentation because Xdebug doesn't support that. It also
implements a "gdb-LIKE" protocol, but that is deprecated and should not
be used anymore.
regards,
Derick
-- Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.orgReceived on Fri Nov 17 2006 - 09:54:29 GMT
This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST