XDebug offers the configuration directive "xdebug.profiler_enable_trigger" that allows to activate profiling by passing the GET or POST parameter "XDEBUG_PROFILE" when calling a script via HTTP. This is handy if you don't want profiling for ALL of your scripts but only for a few special cases without always changing your PHP configuratio...
I'm trying to debug Drupal on a windows machine using Eclipse (PDT), WAMP, and XDEBUG.
Everything seems to be running fine, Eclipse recongnizes when I move between pages (it's shows in the "Remote Launch" section "stepping") but nothing happens, and my breakpoints are ignored.
I'm ready to start pulling my last few hairs out, any help ...
I have a PHP script that is sending a series of http requests to another php script on another server. I have Xdebug installed on both servers and I'm using NetBeans as my debug client. The problem I am having is that NetBeans can't have 2 debug sessions at the same time and you can't spawn 2 NetBeans processes on the same machine. A...
I'm having a problem with xdebug not stopping at breakpoints when using remote debugging (everything is fine when running scripts via the command line). It will break at the first line of the program, then exit, not catching any breakpoints.
It used to work fine, until I switched over to using MacPorts for Apache and PHP. I've tried re-...
I am trying to get xdebug working with eclipse (3.5) / php (on xampp windows 7). I have verified xdebug is enabled in php - I have the fancy output and my phpinfo shows all the xdebug stuff. I have remote debug on, and typed in the lan ip address on my eclipse machine.
When I tell eclipse to debug, it launches the browser and passes t...
I downloaded php_xdebug-2.0.5-5.3-vc9.dll, added at the end of PHP.ini the following line:
zend_extension_ts="C:/Program Files/php5/ext/php_xdebug-2.0.5-5.3-vc9.dll"
When I use phpinfo(), xdebug is not loaded.
When I run command "php.exe -m", it not loaded as well.
How can this be resolved?
My configuration: PHP 5.3.1, Apache 2.2...
I used to utilize php_xdebug-2.0.3-5.2.5.dll under Windows XP but it is not adopted by Win7 ?
What is the thread safe and thread not safe ?
...
I used to use xDebug under Windows XP (as written here → http://serge.yrik.org.ua/blog/blog/devblog/14.html), but it doesn work under Win 7 !
...
In the xdebug code coverage, it shows the line "return false;" (below "!$r") as not covered by my tests. But, the $sql is basically hard-coded. How do I get coverage on that? Do I overwrite "$table" somehow? Or kill the database server for this part of the test?
I guess this is probably telling me I'm not writing my model very well,...
Hello,
I've got a nice question here :)
I need to debug my web service written in PHP. Its client is written in C#.
After a couple of days of searching I realized this is not an easy task. At least it seems nobody knows the right solution.
What is the problem in, actually?
We have 2 popular PHP debugging libraries : PHP Debugger from N...
Hi,
how to know the xdebug version i have installed?
Regards
Javi
...
I just started using Netbeans to debug PHP apps, but when I inspect any object it has the CLASSNAME printed over and over, making it very difficult to understand the contents of an object. See the image below to see what I am talking about. Anybody know what is going on?
Here are some details that might be important...
Netbeans versi...
Hello,
I'm using Eclipse IDE + remote Xdebug.
EclipseIDE is listening 9000 port for some kind of Xdebug information.
There are some php scripts running by cron on server. So, every cron execution xdebug is sending information to my workstation and EclipseIDE is trying to find this file in my project. But file couldn't be find because c...
I'm trying to install XDebug by registering it in php.ini but it isn't working. I'm thinking maybe my apache server is not reloading my changes properly.
-from your friendly PHP noob
...
've registered xdebug in php.ini (as per http://xdebug.org/docs/install) but it's not showing up when i run "php -m" or when i get a test page to run "phpinfo()". I've just installed the latest version of XAMPP. I've used both "zend_extention" and "zend_extention_ts" to specify the path of the xdebug dll. I ensured that my apache server ...
I am using xdebug with eclipse (on OSX). I think I remember reading somewhere that it was possible to link the error output (or the Call Stack) to a text editor (like Textmate). I was wondering if its possible to do the same thing for Eclipse.
EDIT: I found out that what I would like to use is the xdebug.file_link_format setting. For...
i'm using MAMP and want to activate xdebug.
i've uncomment the following row in php.ini:
[xdebug]
zend_extension="/Applications/MAMP/bin/php5/lib/php/extensions/no-debug-non-zts-20060613/xdebug.so"
i restarted MAMP and opened a php file containing phpinfo() on the web browser and saw a section named "xdebug". so im sure its installed...
I'm running Ubuntu 9.10
I installed apache2 and downloaded the php 5.3.2 tar.gz, untarred and compiled.
I then installed xdebug via pecl.
After that I installed mysql-server and PhpMyAdmin. PhpMyAdmin can change apache2 settings, and now, xdebug is no longer included in my phpinfo(); overview.
I've done a search for all possible php.in...
xdebug is widely used by developers and since xampp is meant to be used in development environment i wonder why it doesnt come with xdebug installed?
so annoying to have to do it manually all the time.
...
Hi,
im trying to install xdebug following these easy steps:
I installed it in one computer without problems. As expected it installed xdebug.so in
/opt/lampp/lib/php/extensions/no-debug-non-zts-20090626
In another computer with the same XAMPP release it installed xdebug in
/usr/lib/php5/20060613+lfs/xdebug.so
Why does it i...