[xdebug-general] xdebug jumps in conditional case.

From: Xavier Puig <xpuigr[@]gmail.com>
Date: Wed, 14 Apr 2010 20:11:59 +0200

Hello,
My xdebug jumps in IF condition, for example:

1<?php
2 $var="zero"."one"."two"."three";
3
4 $var2=526;
5 if($var2-550 > 0)
6 $var=500;
7 else
8 $var=1000;
9 $var="string";

I run dbgp protocol, allways "step_into" and the steps are:
line 2
line 4
line 5
line 9

I don't know if the conditional was true or false, the only way to know
it i send command "context_get" and see what value have $var.

Is there any way to know more detail(the maxim) of steps of execution, I
must have something like this:
line 2
line 4
line 5 $var2-550
line 5 conditional false
line 8
line 9

Or in the second line:
step 1 "zero"."one"
step 2 "zeroone"."two"
step 3 "zeroonetwo"."three"

I am dialoging directly from commands with dbgp protocol to port 9000
Thank's for advance.
Received on Wed Apr 14 2010 - 19:12:03 BST

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