daniloalvessouza / webgrind

Automatically exported from code.google.com/p/webgrind
Other
0 stars 0 forks source link

webgrind1.0 does not find any cachegrind files #49

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Installed Xdebug ok, and configured to generate cachegrind files to
public writeable directory nominated in php.ini under
xdebug.profiler_output_dir (always with web server restart)

2. Invoking webgrind without further configuration shows no files to select.

3. Have alternatively tried man different writable directories, both
outside web root and under /webgrind/ folder within web server.

What is the expected output? Cachegrind files to select above "Select a
cachegrind file above"

What do you see instead? Just "Select a cachegrind file above", no files
(although cachegrind files definitely generated ok into expected directory).

What version of the product are you using? On what operating system?

Webgrind 1.0
Mac OS X Leopard 10.5.4
PHP 5.2.12

Please provide any additional information below.

I also tried strategies recommended here:

http://anantgarg.com/2009/03/10/php-xdebug-webgrind-installation/

Explicit paths in webgrind config.ini:

  static $storageDir = '/Library/WebServer/Documents/webgrind/tmp';
  static $profilerDir = '/Library/WebServer/Documents/webgrind/tmp';

(note on Mac OS X Leopard /tmp is private to root).

Added an .htaccess in the webgrind folder with the following contents

php_flag xdebug.profiler_enable 

Did not seem to help.

Original issue reported on code.google.com by webelco...@gmail.com on 31 May 2010 at 8:23

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Have you verified that you can see actual cachegrind files being generated in 
your profiler_output_dir location?  If you do see files there, then it sounds 
like webgrind just doesn't see them.

I found today that having the %s script name piece in the profiler_output_name 
file format mask would result in webgrind not seeing any of the cachegrind 
files that I verified were in my profiler_output_dir.

You might try commenting out the profiler_output_name, thereby letting it 
default to cachegrind.out.%p , generate some cachegrind files that are in that 
format, and see if webgrind can see those.

Original comment by demon.g...@gmail.com on 3 Sep 2010 at 8:54

GoogleCodeExporter commented 8 years ago
Duplicate of issue #36?

Original comment by demon.g...@gmail.com on 3 Sep 2010 at 8:59

GoogleCodeExporter commented 8 years ago
Might be obvious, but did you verify that you have the xdebug module installed? 
That one got me :)

Original comment by joehhard...@gmail.com on 10 Jan 2013 at 1:46

GoogleCodeExporter commented 8 years ago
Same issue here. I used the same link: 
http://anantgarg.com/2009/03/10/php-xdebug-webgrind-installation/
 to install xdebug and webgrind. It does not find any cachegrind files and when http://localhost/webgrind is opended shows this-->

Select a cachegrind file above
(looking in C:\xampp\htdocs\webgrind\tmp/ for files matching 
/^cachegrind.out..+..+$/)

My environment:
Windows vista
xampp 1.7.7
php 5.3.8

Original comment by gtsde...@hotmail.com on 19 Apr 2013 at 12:27