NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
How to profile variable functions?


Joined: 25 Nov 2004
Posts: 4
Location: Russia, Moscow
Reply with quote
I have some variable functions, called like

<php>
$func_name = "blah";
$func_name();
</php>

Can i profile them somehow? Debugger works well, and catches them even if i call that methods with eval() function. But i just cant get how to profile them... Sad
View user's profileFind all posts by NeoromanticSend private messageICQ Number


Joined: 25 Nov 2004
Posts: 4
Location: Russia, Moscow
Reply with quote
Seems like i lied.

Variable functions can be profiled quite easy.

But i still cant profile functions that calls my class, called from index..

so, if i have some class, which has constructor, that includes file with some other class and calls some method - i cant see that method in profiler...

Can it be solved?
View user's profileFind all posts by NeoromanticSend private messageICQ Number
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
You need to use DBGSESSID with appropriate value.
In the next version of debugger it will be possible to supply the value with DebugBreak() meanwhile the only way to turn on the profiler is specifing it in DBGSESSID as "p" flag. Please see FAQ forum for DBGSESSID syntax.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
How to profile variable functions?
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