[xdebug-general] Re: Some issues...

From: Derick Rethans <derick[@]xdebug.org>
Date: Wed, 15 Mar 2006 21:44:30 +0100 (CET)

On Wed, 15 Mar 2006, Linus McCabe wrote:

> On Wednesday 15 March 2006 08:57, you wrote:
>
> > I now support conditional statements for line breakpoints, but not the
> > "conditional" type as that will slow down scripts enourmously because I
> > have to evaluate that condition after every statement. Not sure how to
> > do this... implementing the type itself is not hard though.
>
> Is speed really an issue here? On a development server I'd rather have good
> debug functionality than speed. And there should only be a slowdown if
> conditionals are actually used?

It indeed only happens *if* there is a conditional in use. But if there
is things are going to be *really* slow :) I can ofcourse add it but I'm
not sure how useful this is. A conditional in combination with a
file/line breakpoint is already possible by specifying:
breakpoint_set -i 3 -t line -f file.php -n 42 -- base64(expression)

regards,
Derick

-- 
Xdebug | http://xdebug.org | xdebug-general@lists.xdebug.org
Received on Wed Mar 15 2006 - 21:44:43 GMT

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