[xdebug-general] How to get started ?

From: <jpeetje[@]n00bies.com>
Date: Wed, 5 Jan 2005 04:39:42 +0100


I wanted to Xdebug for profiling, so I downloaded 'xdebug-4.3.6-2.0.0beta1.dll'
seeing as I have PHP 4.3.10 and this extension is for 4.3.6 and above. I placed
this in my PHP directory and starting reading the documentation.

Quickly I found out I had to put this in my php.ini:

I wanted to use automatic profiling, so I also inserted this:
xdebug.auto_profile = On
xdebug.auto_profile_mode = 0
xdebug.output_dir = "c:/www/php/profiling/"

Seeing as there aren't any examples in the documentation, I started trying out
different combination of values, such as:
xdebug.auto_profile = 1
xdebug.auto_profile_mode = 1
xdebug.output_dir = "profiling"

Etc. But whatever I do, I don't see any profiling happening. No documents
on my hard drive, my PHP scripts are being parsed normally.
However, if I create a little parse error in my scripts, Xdebug is the error
handler, so the extension is being loaded.
Now my question is: How do I get the profiler to work ?

I'm running on Windows 2000, PHP version 4.3.10, MySQL (if that matters)

Hope to hear from you !


This message was sent using IMP, the Internet Messaging Program.
Received on Wed Jan 05 2005 - 04:39:50 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST