[xdebug-general] AW: Re: Find out whether breakpoint is valid

From: André Hänsel <andre[@]webkr.de>
Date: Sun, 26 Apr 2009 18:35:13 +0200

> Derick Rethans wrote:
>
> On Fri, 24 Apr 2009, André Hänsel wrote:
>
> > is there any way to determine whether a breakpoint is a valid
> > breakpoint?
> >
> > I have continued development of xdebugclient and I'd like to prevent
> > lines to be marked as breakpoint when there cannot be halted.
> >
> > Especially in the following example I find it rather counterintuitive
> > that the second line is the only valid breakpoint:
> >
> > $v = array(
> > 'a' => foo(), // This line is the only valid breakpoint
> > 'b' => bar(),
> > );
>
> Xdebug has code for this, in the form of the code coverage analysis
> code, but the DBGp protocol does not provide means of conveying that
> information back to the client at the moment.

Isn't this the case the 203 error code was made for as described in http://www.xdebug.org/docs-dbgp.php#debugger-engine-errors?

André
Received on Sun Apr 26 2009 - 18:35:29 BST

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