You are not logged in.
Pages: 1
I've been trying to resolve this issue with apache crashing when debugging with netbeans. I'm using the latest version of PHP and xdebug from the AUR. (PHP 5.3.2 and Xdebug v2.1.0beta3). Just wondering has anyone had issues with this? Xdebug in netbeans shows local variables but then starts eating up all the ram and I have to kill it before it crashes the pc.
Offline
Hi,
I had similar problem, also when using xdebug. In my case, apache didn't crash, but when I added watch in netbeans, CPU usage jumped to 100% and the only way to make system usable again was to restart apache and stop xdebug. The same problem I had on eclipse, so it's not IDE's issue.
Finally, I installed php 5.2 and removed php 5.3, and all my problems are gone.
I guess xdebug just doesn't like php 5.3.
PHP 5.2.13 is available in php52 package, so you have to uninstall all php-* packages.
Regards
In the 1960's people took LSD to make the world weird.
Now the world is weird and people take Prozac to make it normal.
Offline
I've managed to resolve this problem. The issue lies in Netbeans and not php, in which it creates an infinite loop when evaluating variables. Installing the latest nightly build resolves this. Finally debugging is possible once again.
Nephre your problem might have been slightly different. Mine was more of a memory crash where all the ram as well as the swap is consumed slowing the computer down to a halt.
Last edited by zpet731 (2010-04-25 13:36:09)
Offline
Zpet, I've solved this problem by removing php package and installing php52 instead. Apparently, xdebug+netbeans doesn't work too well with PHP 5.3. It's kinda workaround, not problem solution, but this issue really blocked by work.
In the 1960's people took LSD to make the world weird.
Now the world is weird and people take Prozac to make it normal.
Offline
Pages: 1