[xdebug-general] Re: [Xdebug] - DBGp Protocol - breakpoint_set - conditional

From: Dave Kelsey <d_kelsey[@]uk.ibm.com>
Date: Thu, 25 Jan 2007 10:12:58 +0000

> Hi,
>
> Breakpoint type 'line' is working perfectly (in my opinion).
> However breakpoint type 'conditional' doesn't seem to work yet.
>
> breakpoint_set -i 2 -t conditional -f
> file://D%3A%5CPartage%5Cphp%5CSmall1%5Cindex.php -n 62 -- JGkgPj0gMQ==
> <error code="201"><message><![CDATA[breakpoint type is not supported]]>
>
> Environment is :
> PHP Version 5.2.0 with Xdebug v2.0.0RC2-dev, Copyright (c) 2002, 2003,
> 2004, 2005, 2006, by Derick Rethans
> (and WinXP sp2 + Indy10 web server)
>
> Is there another command to activate 'conditional' ?
> Else, is there a future in Xdebug for this type of breakpoint ?
>
> Many thanks for the great Xdebug
> Regards,
> Pierre.
>

keep the type as line but add the condition at the end as you have done
so
breakpoint_set -i 2 -t line -f
file://D%3A%5CPartage%5Cphp%5CSmall1%5Cindex.php -n 62 -- JGkgPj0gMQ==

this works for me.

I think that the DGBp protocol documentation is not fully upto date.
Activestate
deviate a bit as well from the published version. Hopefully a final upto
date version
will be published in the future.

Dave Kelsey
Received on Thu Jan 25 2007 - 11:13:10 GMT

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