[xdebug-general] Re: Conditional breakpoint

From: Derick Rethans <derick[@]xdebug.org>
Date: Tue, 5 Jan 2010 12:23:17 +0000 (GMT)

On Wed, 16 Dec 2009, Mauro C. wrote:

> On Tue, 15 Dec 2009, Derick wrote:
>
> > On Tue, 15 Dec 2009, Mauro C. wrote:
> >
> > > Have problem setting breakpoint condition:
> > >
> > > $i = 10;
> > > echo $i;
> > >
> > > breakpoint_set -i 1 -t conditional -f file:///var/www/phpeclipse/conditional_breakpoint.php -n 3 -- base64($i > 1)
> >
> > Do you have a literal "base64($i > 1)" in the command, or: JGkgPiAx
> > (the base64 encoded version of "$i > 1" ?
>
> Forgot to convert expression :-)
>
> but conditional breakpoint require line number, and breakpoint_get no
> return expression.

I added both things as issue:
http://bugs.xdebug.org/view.php?id=512
http://bugs.xdebug.org/view.php?id=513

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 Tue Jan 05 2010 - 12:23:17 GMT

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