This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 252832 - slow php debugging
Summary: slow php debugging
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.0.2
Hardware: PC Windows 7
: P3 normal with 1 vote (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-05 11:35 UTC by vavra
Modified: 2016-08-29 06:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
netbeans profile and xdebug log (868.30 KB, application/save-as)
2015-06-05 11:35 UTC, vavra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vavra 2015-06-05 11:35:18 UTC
Created attachment 154068 [details]
netbeans profile and xdebug log

I use NetBeans 8.0.2, php 5.6.8 nts, xdebug php_xdebug-2.3.2-5.6-vc11-nts, Windows 7
When I'm debugging and I'm making a step from one line to the next line, the debugged php.exe process consumes 100 % CPU and going to the next line takes approx 5 seconds. I suspect that the slowness is caused by the fact that Netbeans requests xdebug to dump all defines and global variables. In the NetBeans Variables tab I have filtered out everything but the problem remains.

I've also switched on xdebug.remote_log that confirms that NetBeans are requesting all defines and globals. Step from one line to the next line increases the xdebug.remote_log by 5 MB. When I use NetBeans 7.4 the xdebug.remote_log increases only by 200 kB. 

Is there any way how to configure NetBeans to reduce a set of variables (informations) requested on xdebug ? 

I've attached Netbeans profile for step from one line to the onther, php source is simple:
 $sado = new XGSado();      
 $sado->name =  basename($file);

And also I attach xdebug log.