Questions tagged [xdebug-profiler]

52 questions
2
votes
1 answer

qcachegrind error: Unknown file format. File generated from php xdebug

I am attempting to use xdebug to profile an application written in php7. I've written a script that sets the follow ini settings: ini_set('xdebug.trace_format',1); // Note: I tried 0 and 2 here as…
johncorser
  • 9,262
  • 17
  • 57
  • 102
2
votes
1 answer

Cannot Profile a PHP web application hosted on a remote server, Xdebug works

I have a remote server on my local network. I have PHPStorm and XDebug set up there with the following .ini settings for my…
filpa
  • 3,651
  • 8
  • 52
  • 91
2
votes
1 answer

Why changing xdebug.profiler_output_name has no effect?

I am trying to change the xdebug.profiler_output_name setting in my php.ini, but it seems to have no effect at all. The weird part is that if I change any other value in php.ini, and even xdebug.trace_output_name, then they are changed (I can see it…
ragulka
  • 4,312
  • 7
  • 48
  • 73
2
votes
1 answer

LAMP xdebug loaded, but not creating any file anywhere

I have following setup in php.ini (Apache 2.4 / PHP 5.5 / Fedora 19): [XDebug] zend_extension="/usr/lib64/php/modules/xdebug.so" xdebug.remote_enable = On xdebug.remote_handler = dbgp xdebug.remote_mode=req xdebug.remote_port =…
Ivan
  • 315
  • 1
  • 3
  • 16
1
vote
1 answer

PHP profiling in VS Code is not showing call times

I'm using VS Code and particularly the "PHP" extension to open cachegrind files that I have xdebug generating. When I open the file in Qcachegrind, it shows everything correctly including call times. But opening the profile file in VS Code shows all…
1
vote
0 answers

PHP Xdebug profiler not tracing relevant functions

I have a PHP 7.1/Zend Framework 1 project running in a docker container with Xdebug 2.7 and I'm trying to figure out, why my PHP functions take up to 30 seconds. However the Xdebug profiler is only tracing framework/library internal functions. None…
1
vote
0 answers

How can I combine multiple coverage-html reports to a single report

My web services are written in Laravel 5.6 and these are utilised by a mobile app written in Cordova. I am using Katalon Studio to carry out testing of this mobile app and services consumed by it and I am able to achieve it. Also, I am able to…
1
vote
1 answer

How do I get stack_trace from Xdebug and build on top of it?

I'm trying to figure out if there is a way to get stack_trace info from Xdebug similar to how an IDE like PhpStorm or NetBeans is getting it to store it and process it further. Any help much appreciated.
Madhu
  • 13
  • 2
1
vote
0 answers

ERR_EMPTY_RESPONSE after starting MAMP when enabling xdebug.profiler_aggregate

When I set xdebug.profiler_aggregate=1 then localhost does not work anymore and gives ERR_EMPTY_RESPONSE in Chrome (Safari and Firefox do not work either). Setting back xdebug.profiler_aggregate=0 everything works fine. working php.ini file with…
Adriaan De Bolle
  • 225
  • 1
  • 3
  • 20
1
vote
1 answer

Xdebug profiler not writing files

I'm using MAMP, and I have xdebug enabled in the extensions tab. Debugging works fine, but the profiler doesn't write to any…
JordyvD
  • 1,565
  • 1
  • 18
  • 45
1
vote
0 answers

What does the time percentage indicate in an Xdebug/PhpStorm profile?

I am using Xdebug and PhpStorm to profile my web application. I am having trouble reading the profile results and identifying what the different components and statistics mean. I assume that the percentage next to the time (in milliseconds) referred…
froadie
  • 79,995
  • 75
  • 166
  • 235
1
vote
0 answers

PhpStorm won't open xdebug profiler snapshot file

========================================================= Ignore this post. A much simpler statement of this issue can be found at PHP auto_prepend_file causes xdebug profiler to fail…
BeetleJuice
  • 39,516
  • 19
  • 105
  • 165
1
vote
1 answer

XDebug not profiling POST

How can I configure XDebug to profile ALL requests, POST, GET, Ajax, with and without query string parameters? The current configuration (below) is only creating profile (cachegrind.out) files for GET requests and POST requests that don't have query…
user2182349
  • 9,569
  • 3
  • 29
  • 41
1
vote
0 answers

My web request is taking longer than XDebug log says

I'm working on a PHP/MySql website with a poorly performing function. I'm trying to get a breakdown of where time is being lost. The web request takes 13 seconds. If I use the chrome network tab or fiddler, 99% of the time is spent "Waiting" so this…
1
vote
0 answers

Timestamp required in xdebug trace file

I have configured xdebug in my application and I am getting below data in trace log. I want to know the data at which time particular function was called. Or I need the time-stamp field in each row. I have searched regarding this on google but no…
Rakesh K
  • 692
  • 4
  • 13
  • 26