View Issue Details

IDProjectCategoryView StatusLast Update
0001962XdebugStep Debuggingpublic2021-04-06 14:08
ReporterEddcapone Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version3.0.3 
Summary0001962: Step debugger takes extremly long to reach breakpoint -
DescriptionI started the step debugger in Netbeans and successfully debugged my code.
After the debug session ended, I reloaded the site without changing anything. Normally the debug session should restart again.
But now the site is taking 5 Minutes and 30 seconds to load. Sometimes it just ignores the breakpoints if it finished loading.

So I restarted the webserver and it works again.
Then I successfully debugged again and after It finished I reloaded the site again to trigger a new step debuggin session,
and the same problem happens and I have to restart my webserver again...

It does not help to stop the xdebug session and restart it, from netbeans.

I can reproduce this again and again. It took me hours to figure out that it is not my fault, but that there is some bug related to xdebug and the webserver.
Additional InformationI am using Apache 2.
The code is on a remote server reachable via VPN.

This is my configuration:

        [xdebug]
        zend_extension='/usr/lib/php/20190902/xdebug.so'
        xdebug.max_nesting_level=128
        ;xdebug.mode=develop
        xdebug.mode=debug
        xdebug.start_with_request=yes
        xdebug.connect_timeout_ms=200
        xdebug.log=/var/log/xdebug/xdebug.log
        xdebug.idekey="netbeans-xdebug"
        xdebug.client_port=9003
        xdebug.client_host=172.16.xxx.xxx <---- set to the company VPN network interface
        ;xdebug.discover_client_host=On
        ;xdebug.force_display_errors=On
        ;xdebug.force_error_reporting=1
TagsNo tags attached.
Operating System
PHP Version7.4.0-7.4.4

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-04-06 14:08 Eddcapone New Issue