[xdebug-general] Re: Xdebug protocol specs?

From: Derick Rethans <derick[@]xdebug.org>
Date: Mon, 20 Apr 2009 19:29:07 +0200 (CEST)

On Mon, 20 Apr 2009, André Hänsel wrote:

> are there (apart from the Xdebug source) any specifications regarding
> the Xdebug remote debugging protocol?
>
> I don't mean the DBGp protocol in general, whose documentation
> (http://www.xdebug.org/docs-dbgp.php) does not cover the messages that
> are sent with the debugger responses.

There is no other documentation, but that also should not be necessary
really.

> I mean for example, which values can the "exception" attribute in the
> following packet take?
>
> <response ... status="break" reason="ok">
> <xdebug:message filename="..." lineno="13" exception="Notice">
> <![CDATA[ Undefined index: entries ]]>
> </xdebug:message>
> </response>

Xdebug only breaks when you tell it to do so. In your case, you must
have set an exception breakpoint on "Notice". In this case, that's
simply the name of the PHP error type. AFAIK, this is the only specific
PHP thing that Xdebug does.

regards,
Derick

-- 
Like Xdebug? Send a postcard: http://derickrethans.nl/xdebug_2_released.php
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
twitter: @derickr and @xdebug
Received on Mon Apr 20 2009 - 19:29:14 BST

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