NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Output the Execution Flow?

Joined: 08 Apr 2011
Posts: 5
Reply with quote
This question has been asked a few times and I cannot find any response.

Is there a way using the profiler to see and export the execution flow?

Right now, all we can see it that a function was hit, but not the order. Even if the profiler had a column Timestamp, that would help.

Is this not possible with PhpEd Professional 6.1 (6117)?
View user's profileFind all posts by xojinsSend private message
Guru master

Joined: 24 Jul 2009
Posts: 712
Reply with quote
I'm not aware of any way of seeing and exporting the execution flow (code tracing).

The profiler is intended for analysing performance and looking for things like bottlenecks. It does allow analysis down to a code line level, but doesn't output execution flow.

Even in competitive product that does offer code tracing, I found that was really just a variation on profiling rather than a true execution flow.

I have used other (non-PHP) debuggers that support detailed code tracing with an execution flow output. The amount of output can be huge and difficult to analyse, particularly when you don't have access to things like variables that determined the execution flow.

In practice I found it was often easier (or at least more useful) to step through to includes/function calls and carefully place a few breakpoints, then use the call stack to work out what is going on and do some single stepping when required.

PhpED is particularly good for this technique compared with other PHP debuggers because it allows you to set the next executed statement, which other PHP debuggers do not.
View user's profileFind all posts by plugnplaySend private message
Output the Execution Flow?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

 Reply to topic