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 206501

Summary: using XAMPP 1.7.7 with xdebug 2.1.1 Netbeans 7.0.1 socket exception when resuming after breakpoint
Product: php Reporter: variofox
Component: DebuggerAssignee: Ondrej Brejla <obrejla>
Status: RESOLVED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 7.0.1   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 209124    

Description variofox 2011-12-17 21:14:42 UTC
using XAMPP 1.7.7 with xdebug 2.1.1 Netbeans 7.0.1 socket exception when resuming after breakpoint

To reproduce
1. create a new project 
2. add a single php file
3. add 2 echo statements to the file
4. set a breakpoint on first statement
5. start debugging
6. Step into or step over
7. Browser does not receive anything, after a few seconds, "Socket Exception" error is displayed.

INFO [org.netbeans.modules.php.dbgp.URIMapper]: class org.netbeans.modules.php.dbgp.URIMapper$1: C:\Users\pie\Documents\NetBeansProjects\W4IT_trunk\include\BLL\bll_web4it.php -> file:///C:/Users/pie/Documents/NetBeansProjects/W4IT_trunk/include/BLL/bll_web4it.php
INFO [org.netbeans.modules.php.dbgp.URIMapper]: class org.netbeans.modules.php.dbgp.URIMapper$1: C:\Users\pie\Documents\NetBeansProjects\W4IT_vit\index.php -> file:///C:/Users/pie/Documents/NetBeansProjects/W4IT_vit/index.php
INFO [org.netbeans.modules.php.dbgp.URIMapper]: class org.netbeans.modules.php.dbgp.URIMapper$1: C:\Users\pie\Documents\NetBeansProjects\experimente\index.php -> file:///C:/Users/pie/Documents/NetBeansProjects/experimente/index.php
INFO [org.netbeans.modules.php.dbgp.URIMapper]: class org.netbeans.modules.php.dbgp.URIMapper$1: file:///C:/Users/pie/Documents/NetBeansProjects/experimente/index.php -> C:\Users\pie\Documents\NetBeansProjects\experimente\index.php
INFO [org.netbeans.modules.php.dbgp.URIMapper]: class org.netbeans.modules.php.dbgp.URIMapper$1: C:\Users\pie\Documents\NetBeansProjects\W4IT_trunk\include\BLL\bll_web4it.php -> file:///C:/Users/pie/Documents/NetBeansProjects/W4IT_trunk/include/BLL/bll_web4it.php
INFO [org.netbeans.modules.php.dbgp.URIMapper]: class org.netbeans.modules.php.dbgp.URIMapper$1: C:\Users\pie\Documents\NetBeansProjects\W4IT_vit\index.php -> file:///C:/Users/pie/Documents/NetBeansProjects/W4IT_vit/index.php
INFO [org.netbeans.modules.php.dbgp.URIMapper]: class org.netbeans.modules.php.dbgp.URIMapper$1: C:\Users\pie\Documents\NetBeansProjects\experimente\index.php -> file:///C:/Users/pie/Documents/NetBeansProjects/experimente/index.php
INFO [org.netbeans.modules.php.dbgp.URIMapper]: class org.netbeans.modules.php.dbgp.URIMapper$1: file:///C:/Users/pie/Documents/NetBeansProjects/experimente/index.php -> C:\Users\pie\Documents\NetBeansProjects\experimente\index.php
INFO [org.netbeans.modules.php.dbgp.URIMapper]: class org.netbeans.modules.php.dbgp.URIMapper$1: C:\Users\pie\Documents\NetBeansProjects\W4IT_trunk\include\BLL\bll_web4it.php -> file:///C:/Users/pie/Documents/NetBeansProjects/W4IT_trunk/include/BLL/bll_web4it.php
INFO [org.netbeans.modules.php.dbgp.URIMapper]: class org.netbeans.modules.php.dbgp.URIMapper$1: C:\Users\pie\Documents\NetBeansProjects\W4IT_vit\index.php -> file:///C:/Users/pie/Documents/NetBeansProjects/W4IT_vit/index.php
INFO [org.netbeans.modules.php.dbgp.URIMapper]: class org.netbeans.modules.php.dbgp.URIMapper$1: C:\Users\pie\Documents\NetBeansProjects\experimente\index.php -> file:///C:/Users/pie/Documents/NetBeansProjects/experimente/index.php
INFO [org.netbeans.modules.php.dbgp.URIMapper]: class org.netbeans.modules.php.dbgp.URIMapper$1: file:///C:/Users/pie/Documents/NetBeansProjects/experimente/index.php -> C:\Users\pie\Documents\NetBeansProjects\experimente\index.php
INFO [org.netbeans.modules.php.dbgp.DebugSession]
java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(Unknown Source)
	at java.net.SocketInputStream.read(Unknown Source)
	at org.netbeans.modules.php.dbgp.packets.DbgpMessage.getDataSize(DbgpMessage.java:296)
	at org.netbeans.modules.php.dbgp.packets.DbgpMessage.create(DbgpMessage.java:128)
	at org.netbeans.modules.php.dbgp.DebugSession.receiveData(DebugSession.java:266)
	at org.netbeans.modules.php.dbgp.DebugSession.sendCommands(DebugSession.java:214)
[catch] at org.netbeans.modules.php.dbgp.DebugSession.run(DebugSession.java:144)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)



Product Version = NetBeans IDE 7.0.1 (Build 201107282000)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.6.0_29
Runtime = Java HotSpot(TM) Client VM 20.4-b02
Comment 1 Ondrej Brejla 2011-12-19 08:52:56 UTC
Please, test it in NB 7.1 (e.g. RC2). Thanks.
Comment 2 Ondrej Brejla 2012-05-11 14:52:33 UTC
Waiting for reporters response. Try the latest XDebug (2.2) and NetBeans (7.2 dev).