logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

No user funcs profiled w/ xdebug_dump_function_profile(): msg#00000

Subject: No user funcs profiled w/ xdebug_dump_function_profile()
if I run this script below I get the expected output as shown below. 
But if I run it more than once I loose all the user functions in the
profiling dump??  If I restart apache, they are back for 1 or 2 runs??
I cheched the apache error log on there is no error.

I am on a g4 powerbook running osx 10.4
with apache 1.3 and php 5.0.4 (Marc Liyanage
build)[http://www.entropy.ch/software/macosx/php/] and xdebug 1.3.2

Any help is welcome.  Let me know if you need anymore details

Thanks in advance.
Sam Keen


Script I'm testing with...
<?php
xdebug_start_profiling();

function addTen($value) {
    return $value + 10;
}

$x = apache_get_modules();

print addTen(5);

xdebug_dump_function_profile();

?>

if I restart apache and run, I get the expected output...

15
Execution Time Profile (sorted by line numbers)
Time Taken      Number of Calls Function Name   Location
0.0002400875    1       apache_get_modules()    
/Users/sam/Sites/pdxphp_meetings/Oct2005/xdebug_profile_01.php:8
0.0000369549    1       *addTen()       
/Users/sam/Sites/pdxphp_meetings/Oct2005/xdebug_profile_01.php:10
Opcode Compiling        0.0032789707
Function Execution      0.0002770424
Ambient Code Execution  0.0003590584
Total Execution 0.0006361008
Total Processing        0.0039150715

after a refresh (or 2 sometimes), I loose all the user functions...


15
Execution Time Profile (sorted by line numbers)
Time Taken      Number of Calls Function Name   Location
0.0000951290    1       apache_get_modules()    
/Users/sam/Sites/pdxphp_meetings/Oct2005/xdebug_profile_01.php:8
Opcode Compiling        0.0022590160
Function Execution      0.0000000000
Ambient Code Execution  2.2660610676
Total Execution 2.2660610676
Total Processing        2.2683200836





Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
db.firebase.por...    text.xml.xalan....    qnx.openqnx.dev...    user-groups.zar...    internationaliz...    kde.devel.konve...    finance.e-gold....    emacs.latex.pre...    gis.therion/200...    web.webmin.gene...    yellowdog.gener...    vserver/2003-08...    redhat.release....    sysutils.tivoli...    xfree86.expert/...    mail.becky.user...    hardware.netapp...    netbsd.ports.xe...    python.distutil...    boot-loaders.gr...    culture.interne...    java.springfram...    activedir/2006-...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe