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 246588 - Restarting debug session failed, not listiening on port 9000 (Netbeans 7.4 and Netbeans 8.0)
Summary: Restarting debug session failed, not listiening on port 9000 (Netbeans 7.4 an...
Status: NEW
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-20 15:53 UTC by hssjc
Modified: 2016-08-29 06:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
netstat when everything works (48.68 KB, image/jpeg)
2014-08-20 15:53 UTC, hssjc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hssjc 2014-08-20 15:53:58 UTC
Created attachment 148797 [details]
netstat when everything works

I found a problem while debugging PHP.
I often need to change the xdebug.remote_autostart setting
in order do debug php which is requested by php with curl.
Steps to reproduce the error.
1. Start Apache with xdebug.remote_autostart = 0
2. Start Netbeans and start Debugger (netstat shows that Netbeans listens on port 9000)
3. Trigger AJAX Action in Browser that calls php script, that uses curl to a site on the same host, and record it with Fireburg.
4. Stop Debug Session
5. Stop Apache
6. set xdebug.remote_autostart = 1
7. Start Apache
8. Trigger Firebug to resent the request from step 3.
Now here comes the bug. In most of the cases Netbeans isn't enable to
listen to port 9000. If I use netstat -an I don't see Netbeans listening.
I have to shutdown Netbeans and restart it.
I don't think it hast anything to do with the php.ini settings, or resending the ajax request. The problem is that netbeans don't listen on port 9000 anymore.
I'm using Netbeans 8, but Netbeans 7.4 hat this behaviour too.
Comment 1 aadilpe 2014-10-26 18:35:44 UTC
still netbeans trying to get connection but no connection can be made
what kind of netbans is for if cant debug php
Comment 2 aadilpe 2014-10-26 18:37:37 UTC
my php xdebug has been installed on xampp


This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    with Xdebug v2.2.5, Copyright (c) 2002-2014, by Derick Rethans