My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 48: Provide workaround for Xdebug issue 357
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by c960657, Mar 15, 2010
There is an obscure bug in Xdebug that has not been fixed yet. It results
in weird costs written to the cachegrind file.

http://bugs.xdebug.org/view.php?id=357


Here is a part of the cachegrind output file:

fl=php:internal
fn=php::function_exists
330 3

fl=php:internal
fn=php::function_exists
334 2

fl=php:internal
fn=php::function_exists
330 2

fl=php:internal
fn=php::function_exists
334 4293967300

fl=php:internal
fn=php::function_exists
330 1

fl=php:internal
fn=php::function_exists
334 3

fl=php:internal
fn=php::function_exists
330 1

fl=php:internal
fn=php::func


This confuses Webgrind total cost calculation, so that not all functions
are displayed in the profile.

I know that Webgrind is not to blame for Xdebug bugs, but apparently this
bug is hard to track down, so I suggest you provide a workaround until it
has been fixed.

This patch fixes the problem.

large-cost-1.patch
934 bytes   View   Download
Sign in to add a comment

Powered by Google Project Hosting