XDebug Debugger working, but cannot seem to use inbuilt profiler?! Help please :D

I can see the cachegrind.out file appearing in the folder specified by xdebug.profiler_output_dir, but nothing seems to pop up in PHPStorm 3.

Can anyone help?

2 comments
Comment actions Permalink

I think I have just solved this myself.

The profiler report has be be manually open using "Select Xdebug profiler snapshot".

Unfortunalty I'm profiling on a remote server, so I have no drive mapped to this server, therefore I have to download the profiler report onto my machine and then open it. This is a little bit of a pain, but it's better than nothing :D

0
Comment actions Permalink

Hi James,

The profiler report has be be manually open using "Select Xdebug profiler snapshot".

Unfortunalty I'm profiling on a remote server, so I have no drive mapped to this server, therefore I have to download the profiler report onto my machine and then open it. This is a little bit of a pain, but it's better than nothing :D

There is no other way to automatically load it into PhpStorm -- it has to be done via file. Xdebugger does not work like ZendDebugger, which can send profiling results straight into calling app without creating intermediate file. Please check this ticket for details: http://youtrack.jetbrains.net/issue/WI-7916?projectKey=WI

Please also check this ticket: http://youtrack.jetbrains.net/issue/WI-8036?projectKey=WI . Maybe devs can implement even automatic downloading of such file if file name will remain unchanged.

If those tickets are not what you have in mind -- feel free to submit new Feature Request to Issue Tracker: http://youtrack.jetbrains.net/issues/WI

0

Please sign in to leave a comment.