[xdebug-general] Re: stderr call

From: Derick Rethans <derick[@]xdebug.org>
Date: Wed, 7 Jun 2006 16:57:55 +0200 (CEST)

On Wed, 7 Jun 2006, Hando Tint wrote:

> Ok, filed a bug report, but I cannot really find in the DGBP documentation a
> clear explenation what features there are to handle errors.
> And since this is the General list, maybe it would do good if there is a small
> explenation for people who want to put error catching to their small editors
> (like I did, because I hate reading the xml directly).
>
> Suppose you want to catch
>
> a) Parse errors (I doubt if it is possible)
> b) Fatal errors like asking for a procedure of a nil pointer (or whatever)
>
> So if one of these things is possible then what should start happening?
>
> Me: stderr -i -1 -c 2
> XDebug: ??? (could not find the XML syntax for "standard error or output
> packages")
>
> I suspect I might be in a really wrong track because in the xdebug code I just
> see
>
> DBGP_FUNC(stderr)
> {
> xdebug_xml_add_attribute(*retval, "success", "0");
> }

Hmm :) That practically means it wasn't implemented at all. I thought
Shane did that, but I guess not. I'll have a look at it anyway.

regards,
Derick

-- 
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Wed Jun 07 2006 - 16:58:20 BST

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