NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Profiler not working for me (debugging works fine)


Joined: 18 Oct 2010
Posts: 14
Reply with quote
Hello,

I like to use the profiler, but it does not work. I use the following settings:

Run target: Local server

Apache:
<VirtualHost *:80>
ServerName vsdevel.de.mycomp.com
DocumentRoot "c:/git/provider/MYCOMP_PUBLIC"
RewriteRule (.*) $1?DBGSESSID=1@localhost:7869 [QSA,PT]
</VirtualHost>

All wizard debugger checks are successful and not showing any error. I can set breakpoints and debug values etc with no problem. But I do not get profiler to work.

No matter how I start, it does not open the profiler window:
1) I run a php script using ALT+F9 and no error occures, output comes, no profiler.
2) I configured to run the profiler with debugger but each time I like to open profiler window it tells me "in order to get profiler results, please run script with profiler using menu Run -> Run profiler". But as seen in (1), it does not work.

What is wrong?

Kukulkan
View user's profileFind all posts by KukulkanSend private message
Guru master

Joined: 24 Jul 2009
Posts: 722
Reply with quote
You don't mention what version of PhpED you are running, or if it is the new 64-bit version. I've just done a profiler run with 12021 64-bit and it seemed to work fine, with the Profiler output showing correctly.

Have you got the profiler enabled in your php.ini?

Code:
debugger.profiler_enabled = on


Also I haven't checked your rewrite rule, but if that is overriding the query string passed by PhpED then it might be dropping the profiler enablement p=1:

Code:
?DBGSESSID=1@localhost;d=0,p=1,c=1


Why do you need the rewrite rule?
View user's profileFind all posts by plugnplaySend private message


Joined: 18 Oct 2010
Posts: 14
Reply with quote
Hello plugnplay,

Thanks, the hint to the DBGSESSID variable and its parameters helped and did the trick Smile It was needed because we are using a local independent Apache and without the rule, no debugging ever worked. This fixed the issues, but it seems the profiler is off by default. A p=1 fixed it perfectly Smile

Kukulkan
View user's profileFind all posts by KukulkanSend private message


Joined: 18 Oct 2010
Posts: 14
Reply with quote
Good point! Thank you Smile
View user's profileFind all posts by KukulkanSend private message
Profiler not working for me (debugging works fine)
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