Questions tagged [xdebug-profiler]
52 questions
41
votes
1 answer
How do I read the UI of qcachegrind?
I am using qcachegrind to view a Profile log that is created by Xdebug. I can view the file fine, but I have no clue what Im looking at.
I have tried Google but I just keep getting installation tutorials, nothing about how to understand the…

Wesley Smith
- 19,401
- 22
- 85
- 133
13
votes
2 answers
phpunit -coverage-html report path
I have tried to execute phpunit with xdebug for code coverage as below,
C:\wamp\bin\php\php5.3.22>phpunit -coverage-html /tmp C:\\TestRetainer.php
and it is giving output as follows,
PHPUnit 3.7.32 by Sebastian…

Raja
- 3,477
- 12
- 47
- 89
11
votes
2 answers
webgrind not showing function names or file source
I'm trying to profile a web application with xDebug and Webgrind since I'm doing it in a remote Linux server. For some weird reason it doesn't show call names or file source. I was suspecting that there might be some kind problem with readying the…

DonRico
- 182
- 12
5
votes
1 answer
PhpStorm and xdebug profiler setup on Windows localhost
I'm having a hard time getting xdebug profiling to work and to integrate into PhpStorm 2017. I tried to follow this video without success.
I know that xdebug is properly installed on the web server (a local Apache on Windows installation) and…

BeetleJuice
- 39,516
- 19
- 105
- 165
5
votes
0 answers
Difference between Xdebug-profiler and Xdebug-tracer
What is the difference between Xdebug profiler and tracer? Is there one?
I know that they have different settings but I would like to know what their difference is in terms of functionality.

Flummiboy
- 591
- 1
- 7
- 20
4
votes
2 answers
Xdebug profiler - Incorrect profiler snapshot format
I'm trying to open xdebug profiler output in PhpStorm, but I'm getting an error:
Incorrect profiler snapshot format
For input string: "fl=(2)"
I can't seem to find any indication as to what could be causing this.
I'm on OSX 10.13.4, PhpStorm…

Nicolas
- 1,256
- 1
- 10
- 22
4
votes
0 answers
PHP auto_prepend_file causes xdebug profiler to fail
I use xDebug 2.5.5 on a Windows 7 machine running Apache 2.4 and PHP 5.6. xDebug profiler works ok except when I use a php auto_prepend_file
in php.ini
auto_prepend_file = "C:\path\to\init.php"
or in Apache Vhost
php_value auto_prepend_file…

BeetleJuice
- 39,516
- 19
- 105
- 165
4
votes
1 answer
Xdebug Profiler not working over apache
The issue is I get no output from Xdebug-Profiler if I request any page from my server over browser. If i call a script with php in terminal like
php /var/www/html/index.php
then the profiler's output will be created. So I guess my configurations…

tookie009
- 186
- 1
- 14
4
votes
1 answer
Xdebug profiler output file
X debug is returning output as parts instead of just one file.
I am using ubuntu 16 and don't know why suddenly the output is in several files.
The problem that i have is that i cannot open this files in Kcachegrind as the output have different…

Leonel Matias Domingos
- 1,922
- 5
- 29
- 53
4
votes
1 answer
How to limit cachegrind files created by xdebug-profiler
Is there any way to limit cachegrind files (xdebug profiling output)?
I would like to enable xdebug.profile for debugging whole project (not only trigger), but if someone forget to disable it, I don't want disc to be full.
I didn't find any option…

yulka
- 61
- 6
4
votes
1 answer
Xdebug Profiler creates a cachegrind.out file for auto-prepended file but not the target file
Looking to profile my web app, I have added the following settings to my Applications php.ini file:
zend_extension = "C:\hqp\xampp_1.7.4\php\ext\php_xdebug.dll"
xdebug.profiler_append = 0
xdebug.profiler_enable =…

Parijat Kalia
- 4,929
- 10
- 50
- 77
3
votes
1 answer
xdebug profiler laravel 5.5 windows empty grindfile
I am trying to profile Laravel 5.5 app on Windows 8.1 machine with xdebug 2.5.5 php version 7.0.0. php is running as cgi
Debugging works excellent i can debug but the profiler files are filled with this Laravel error (this is only with Laravel app,…

gdinko
- 31
- 5
3
votes
1 answer
How to use Xdebug on the terminal?
I am trying to find a way to debug PHP other than var_dump() and I noticed Xdebug. I cannot find on the internet if Xdebug has a command-line version (I dont want to use a GUI version, bear with me(sshing another linux system)). If there is, how can…

zkytony
- 1,242
- 2
- 18
- 35
3
votes
2 answers
xDebug profiler completely ignores sources behind Phalcon native code
My xDebug v2.2.3 for PHP 5.5 completely ignores souce code behind Phalcon native code, like controllers, models, views. Only bootstrap file and method called from there are available.
Here is my xDebug configuration in…

gingo
- 3,149
- 1
- 23
- 32
2
votes
1 answer
Xdebug trace function how to exclude vendor dir
I am using Xdebug to analyze my Laravel code. I use the trace and coverage function.
For coverage, I can config whitelist and exclude to configure what directory and file I want to analyze.
But for trace, I don't know how to configure the exclude…

孟庆超
- 79
- 3