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 212801

Summary: socket exception occurred - xdebug
Product: php Reporter: shlomitub28
Component: DebuggerAssignee: Ondrej Brejla <obrejla>
Status: RESOLVED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 7.1.2   
Hardware: HP   
OS: Linux   
See Also: https://netbeans.org/bugzilla/show_bug.cgi?id=217405
Issue Type: DEFECT Exception Reporter:

Description shlomitub28 2012-05-21 19:36:26 UTC
Linux Centos 5.5 x86
netbeans 7.1.2
zend_extension="/usr/lib64/php/modules/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=3000
xdebug.remote_log="/tmp/xdebug_log.txt"

i tried to find what is the problem but couldnt. can you help?
Comment 1 Martin Entlicher 2012-05-22 07:59:22 UTC
Please attach the exception body.
Comment 2 Ondrej Brejla 2012-05-22 08:08:57 UTC
This exception mostly occurs when XDebug ends up with some error and mostly we can't do anything with that, because it disconnects NetBeans. You can provide us more info, such as source code, where the problem occurs, your breakpoints settings, debugging workflow, xdebug xml output, etc. Until that I can't suggest you any advice.
Comment 3 prembo 2013-01-14 16:17:45 UTC
I was experiencing the same issue running Netbeans 7.2.1, MAMP 2.1.1, PHP 5.4.4 and xdebug 2.2.0.  

As mentioned by obrejla, it is an xdebug issue.

Rebuilding xdebug from source (https://github.com/derickr/xdebug) - v2.3dev - seems to resolve the issue on my setup.  I can debug, step in, out & over, inspect variables etc without encountering the "Socket Exception" error.