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 - socket exception occurred - xdebug
Summary: socket exception occurred - xdebug
Status: RESOLVED INCOMPLETE
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.1.2
Hardware: HP Linux
: P3 normal with 1 vote (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-21 19:36 UTC by shlomitub28
Modified: 2013-01-14 16:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.