I am currently developing a Drupal webpage using PDT. When running without XDebug, the site works fine.
When I enable XDebug, the site works fine but opens up tons of Javascript errors that I need to click through.
Example:
A Runtime Error has occurred.
Do you wish to Debug?
Line: 1
Error: Syntax error
--
It seems to only be a prob...
Have you managed to get Aptana Studio debugging to work? I tried following this, but I don't see "Windows -> Preferences -> Aptana -> Editors -> PHP -> PHP Interpreters" in my menu (I have PHP plugin installed) and any attempt to set up the servers menu gives me "socket error" when I try to debug. Xdebug is installed, confirmed through p...
How do you setup a multi-developer XDebug PHP environment. I have a linux machine with Apache and Xdebug loaded and a php.ini file that I think is correct. I found a python proxy script that I'm using to proxy the calls from the PDT Eclipse IDE's my developers are using to the Apache/Xdebug running on the same web server. I set the ideke...
Is it possible to run both debuggers within the same PHP installation simultaneously. They both use different ports so communication with the client IDEs/other apps wouldn't be an issue.
I ask only because using the Zend Debugger with ZendStudio has proven to be much easier (fewer steps to start/stop debugging from the browser), but I r...
I've installed the Windows XAMPP package on three separate computers, 2 running Windows Vista 32 bit ( 1 Ultimate / 1 Home Premium ) and 1 running Windows Vista 64 Home Premium.
After enabling xdebug in php.ini and restarting apache, viewing the default XAMPP localhost index causes apache to crash in the same way every time, reporting '...
When Xdebug is installed/enabled, standard PHP errors (when set to display in the browser) are replaced with more informative messages that include stack traces for each. Also, I've noticed that it also seems to improve output in other areas such as the var_dump() function, formatting/color-coding the output to make it more readable.
Ar...
I'm using NetBeans 6.5 for developing PHP and I have xdebug setup. Is there a way I can tell it not to stop on the first line of the file on every request? JIT mode won't fix this because I don't want it to stop on every exception that I catch.
...
I've been using NetBeans as the XDebug interactive debugging client. But seems like it only supports attaching debuggers to scripts that are invoked via Firefox. I want to step through the request parse script when it's invoked via cURL.
...
I know nothing about Vim expressions. I have a vim foldexpr that comes with a syntax file for xdebug trace files. The existing expression looks like this:
foldexpr=strlen(substitute(substitute(substitute(substitute(getline(v:lnum),'^TR.*$','',''),'\\s>=>','->',\"g\"),'^\\s.\\{20\\}\\(\\s\\+\\)\\?->.*$','\\1',''),'\\s\\s','\',\"g\"))-2
...
Hi everyone, I'm having trouble with debugging a PHP project through NetBeans using XDebug, and was hoping someone out there might have had this problem before.
Debugging works fine for the requested php file - so if I go to index.php on the remote server, I can put a breakpoint anywhere in index.php in NetBeans and the code stops there...
Bit of an obscure one this. My setup is all running on my local Windows machine; I've got NetBeans IDE installed, a local XAMPP server with XDebug running, and an installation of Moodle with some custom addons in the mod directory.
I can happily create breakpoints in PHP pages (including the main Moodle ones), but any breakpoints I pla...
I have problems setting up geben-on-emacs on Windows.
I have:
GNU Emacs 23.0.60.1
geben 0.22
xampp 1.7.0
Xdebug 2.0.4
Native Debugclient is working fine: debug session gets established and I can issue various debug commands.
This is what happens when I try to debug with geben:
Issue M-x geben. Get Waiting for debug server to conne...
Do any of the well-known PHP debuggers offer any method of logging stack traversal? Say I wanted to somehow store a log of every entry/exit of every class, class method, and function.
Is there any way to do this all on the server side (maybe some sort of plaintext client that could log every step-in/step-out automatically)?
Update: It ...
Hi,
I am using xdebug plugin for vim. After making few changes i was able to run debugger but not able to set breakpoints.
So, I enabled xdebug.remote_log and below is the log statements corresponding to setting breakpoint.
<- breakpoint_set -i 5 -t line -f file:///C:\htdocs\testLocal.php -n 36
->
Its issuing request to debugger in...
I have recently tried to get going with Netbeans 6.5 after it rated so highly in the IDE review by Smashing magazine. http://www.smashingmagazine.com/2009/02/11/the-big-php-ides-test-why-use-oneand-which-to-choose/
My main reason for switching from Notepad++ is that I'd like to be able to debug my code and set through it.
I have follow...
I've just downloaded the latest version of UEStudio 09 and am trying out the integrated XDebug features.
I've got xdebug installed, and have verified that via my php_info(). I've written a very basic script to test it out:
1: <?php
2: $x = 5;
3: $y = $x + 1;
4: $z = 10;
5: while ($z--) {
6: echo $x, $y, "<br />\n";
7: }
I'...
I've been working on writing unit tests for my PHP code. PHPUnit is what I'm using for this.
I have some classes that work great until...
I throw XDebug into the mix.
At that point, PHPUnit doesn't crash or anything, but setExpectedException never triggers.
In fact, the code never goes beyond that point.
Anyone run across this and ...
I used Xdebug to profile my PHP application.
When I open the generated profile file with WinCacheGrind, it gives me a total cumulative time of 3ms for {main} (0.003s).
However, when I use the function xdebug_time_index() at the end of my code, it returns a time of 0.03s.
Anyone knows what might cause this difference and which one is ...
I'm running LAMP server on Ubuntu 9.04(Desktop edition). I'm very new to Ubuntu, so I did most of this via the Synaptic Packet Manager. I then removed php5-common and just installed php5 via: apt-get install php5
My error reporting is set to: error_reporting = E_ALL & ~E_NOTICE
I installed Xdebug and inserted the following in my php.i...
I've been using xdebug to debug and understand code in php projects for a while now, and have sometimes come into situations where it's been unclear what's going on inside of PHP.
Is it possible to set xdebug or gdb up so that i can trace into actual php builtin functions?
...