Debugging is suddenly very slow
Not sure that this is the right place. But over the last few weeks, not sure exactly when, debugging is painfully slow. I'm using Phpstorm, xdebug, and firebug on a windows box.
It seems to hit breakpoints ok, but I tell it to "Resume Program" it can take 15-30 seconds before it displays the changed contact on the screen. When I can use another browser it is fine, and when I tell it PHPstorm to stop debugging it takes a few seconds, but it is reasonable. But once I start debugging again, even it it doesn't hit a breakpoint, it takes a long time.
I'm not sure what the source of the problem, and not sure where to look. Any ideas?
m
Please sign in to leave a comment.
Hello, Marc,
Sorry for the delay.
Please provide information about your development environment - OS, Xdebug version, PHP version.
Thank you for feedback!
windows 7
PHP 5.3.10
Xdebug v2.1.4,
Marc,
There are some issues with Xdebug 2.1.4. Please try to debug using Xdebug 2.2.0RC2 (http://xdebug.org/download.php)
Thank you for feedback!
I upgraded to Xdebug 2.2.0RC2 and there is no difference. Any other ideas?
m
Marc,
Is your web server remote, local or inside a VM?
Thank you for feedback!
local using firefox and xdebug.
In any case, I took your advice and installed rc2, and also installed phpstorm 4 and it seems to be a lot better. I still need to wait a couple seconds after the script finishes but it is much better than before.
m
Marc,
PhpStorm version shouldn't affect the debugging speed. Please provide your phpinfo() output (there are several Xdebug configuration which can affect the speed - xdebug.var_display_max_children, xdebug.var_display_max_data and xdebug.var_display_max_depth).
Thank you for feedback!
Marc,
Do you still have the issue?
Thank you for feedback!