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.
Created attachment 165068 [details] ide screen shot error message on click on debug project button: following content of xdebug log: Log opened at 2017-09-01 08:56:28 I: Connecting to configured address/port: localhost:9000. E: Time-out connecting to client. :-( Log closed at 2017-09-01 08:56:28 Log opened at 2017-09-01 08:58:38 I: Connecting to configured address/port: localhost:9000. E: Time-out connecting to client. :-( Log closed at 2017-09-01 08:58:39 Log opened at 2017-09-01 09:00:16 I: Connecting to configured address/port: 127.0.0.1:9000. E: Time-out connecting to client. :-( Log closed at 2017-09-01 09:00:16 Log opened at 2017-09-01 09:02:22 I: Connecting to configured address/port: 127.0.0.1:9000. E: Time-out connecting to client. :-( Log closed at 2017-09-01 09:02:22 Log opened at 2017-09-01 09:04:04 I: Connecting to configured address/port: 127.0.0.1:9000. E: Time-out connecting to client. :-( Log closed at 2017-09-01 09:04:04 Log opened at 2017-09-01 09:04:29 I: Connecting to configured address/port: 127.0.0.1:9000. E: Time-out connecting to client. :-( Log closed at 2017-09-01 09:04:29 Log opened at 2017-09-01 09:09:57 I: Connecting to configured address/port: 127.0.0.1:9000. E: Time-out connecting to client. :-( Log closed at 2017-09-01 09:09:58 attached ide screen shot
Created attachment 165072 [details] xdebug.log I have had the same error come up one-time now ("Error occured during comunication with xdebug: Report issue, provide steps to reproduce and attach IDE and ideally also xdebug.log..."). This happened while I have been struggling to get xdebug to stop at breakpoints (it isn't stopping). It is connecting: Connected to client. :-) but not stopping at breakpoints. Putting xdebug_break(); into code will force it to stop (and it can then be debugged, variables visible, current row highlighted in netbeans, step-over etc works). But it won't stop at breakpoints, though Netbeans is successfully asking Netbeans to do so according to the log: <- breakpoint_set -i 1169 -t line -s enabled -f file:///http/localhost:8080/desktop.php -n 83 -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="1169" state="enabled" id="212780066"></response> (but then it doesn't stop) I am attaching my xdebug.log and also relevant rows of php.ini My set-up is: - ubuntu server 32-bit 17.04 running as guest in Virtualbox under a Windows 64-bit 10 host (netbeans running in Windows, trying to debug the guest remotely) - Virtualbox is setup as NAT adapter, and I have set rules in its port-forwarding window host+guest for port 9003 (which is what I have set in Netbeans and php.ini xdebug.remote_port=9003) and for 8080->80, 2222->22 for http and ssh respectively - Project Run properties in Netbeans: - run as remote web site - project url: http://localhost:8080/ - path mapping correctly set in advanced options - launches browser (chrome) [successfully] Any feedback or ideas on how to get breakpoints working would be greatly appreciated! Many thanks Lee
I have had the same error come up one-time now ("Error occured during comunication with xdebug: Report issue, provide steps to reproduce and attach IDE and ideally also xdebug.log..."). This happened while I have been struggling to get xdebug to stop at breakpoints (it isn't stopping). It is connecting: Connected to client. :-) but not stopping at breakpoints. Putting xdebug_break(); into code will force it to stop (and it can then be debugged, variables visible, current row highlighted in netbeans, step-over etc works). But it won't stop at breakpoints, though Netbeans is successfully asking Netbeans to do so according to the log: <- breakpoint_set -i 1169 -t line -s enabled -f file:///http/localhost:8080/desktop.php -n 83 -> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="1169" state="enabled" id="212780066"></response> (but then it doesn't stop) I am attaching my xdebug.log and also relevant rows of php.ini My set-up is: - ubuntu server 32-bit 17.04 running as guest in Virtualbox under a Windows 64-bit 10 host (netbeans running in Windows, trying to debug the guest remotely) - Virtualbox is setup as NAT adapter, and I have set rules in its port-forwarding window host+guest for port 9003 (which is what I have set in Netbeans and php.ini xdebug.remote_port=9003) and for 8080->80, 2222->22 for http and ssh respectively - Project Run properties in Netbeans: - run as remote web site - project url: http://localhost:8080/ - path mapping correctly set in advanced options - launches browser (chrome) [successfully] Any feedback or ideas on how to get breakpoints working would be greatly appreciated! Many thanks Lee
Created attachment 165073 [details] php.ini (relevant rows for xdebug)