tags:

views:

17

answers:

0

When using phped to debug, "step out" returns from the current function, then steps over the line with the calling function. For example, imagine the following code:

print(a().' '.b());
exit();
function a(){ return 'Hello'; }
function b(){ return 'World!'; }

I start debugging, I step into the function calls at line 1, which takes me to line 3 (the Hello line). If I hit "Step Out", I would expect to be taken back to line 1. Instead, I am taken to line 2.

phped uses dbg for its debugger so maybe this is the same regardless of which editor you use.

Is it possible to change this functionality?