PHP Zend Debugger profiling

Hi,

Don't know if I'm blind or something, but I don't seem to find how to use the new profiler tools. Searched the help, the commands and the site, but all I find is the refenrece in the release announcements that both Zend and xDebug profiling should be supported, but after installing 3.0 (build #PS-111.19) I cannot find anything else than "Analyze Xdebug profiler snapshot".

Am I missing something obvious?

I installed PhpStorm cleanly in a new folder as instructed...

Best regards, Magnus

8 comments

I was about to write an identical post....

... profiling with Zend Debugger triggered my immediate upgrade to v3.0. So, where is it?
It indeed seems that the manual an help topics are in no matter updated according to the new features of v3.0

Best regards,

ThaGoob

0

I sure hope that it is the documentation that is missing and not the features themselves. Strange that nobody seems to be able to answer this...

0

Hello Magnus,

Sorry for delay. Documentation update is coming.
Here is a short instruction how to use Zend Debugger profiler with PhpStorm:

1. Enable 'Start Listen PHP Debug Connections' button on the toolbar:
listen_debug_connections.png

2. Set Zend Debugger cookie on your web page, we recommed to use Zend Debugger Bookmarklet Generator for that (http://www.jetbrains.com/phpstorm/marklets/):
start_profiler.png

3. Refresh page and after a while the snapshot will be opened in the IDE:
snapshot.png

Please let me know if you will have some troubles with profiling.

Thank you for feedback!

0

Thank you Nikolay! Got it working right away!

Feels sorta hacky that bookmarklet approach, do you have plans on integrating the start/stop profiling into PhpStorm?

Thanks for a great IDE!

Best regards, Magnus

0

Magnus,

Sorry for delay.

Feels sorta hacky that bookmarklet approach,

Why? It is just a more lightweight replacement for Zend Studio Browser Toolbar. I think that it is natural to control your profiling session directly in the web browser since you are profiling a web page.

do you have plans on integrating the start/stop profiling into PhpStorm?

Yes, we have such plans, but it would be great if you submit an issue to the project issue tracker - http://youtrack.jetbrains.net/issues/wi#newissue=yes

Thank you for feedback!

0

Hi Nikolay,

Why? It is just a more lightweight replacement for Zend Studio Browser Toolbar. I think that it is natural to control your profiling session directly in the web browser since you are profiling a web page.


I feel the profiling to be a part of the debugging tools of the IDE. To profile is indeed something that is done using cookies, but so is debugging. At least, in my opinion, all the debugging tools should be found from the same place. The UI also feels like a quick hack.

I created a task WI-9107.

Thank you, and Merry Christmas!

Best regards, Magnus
0

Oops. Reposted the above reply.

Message was edited by: Magnus Klingenberg

0

Please sign in to leave a comment.