2) If, in the function:
- there is a
step;
- (maybe after come Continue) you click "Continue without stepping"
- and somewhen return to the caller
=> it continues *without* stepping!
For me this is absolutely wrong!
If stepping mode is on *before* call to a function, it always must be on *after* return from it! No matter what happens inside the function!
Example:
Code: Select all
// Test step; outside/inside a function
"Main : steptest"
$a = 1;
step; // start stepping for "Main"
$b = 2;
f();
$c = 3; // stepping should be on here!
echo "behind f()";
step;
function f() {
$x = 9;
step;
$y = 8; // after this: click "Continue without steping"
$z = 9;
}