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 184957 - xdebug debug session broken pipe exception
Summary: xdebug debug session broken pipe exception
Status: RESOLVED DUPLICATE of bug 183064
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-26 09:07 UTC by gameshas
Modified: 2010-06-14 14:31 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 gameshas 2010-04-26 09:07:18 UTC
Tested on netbeans 6.8, netbeans 6.9 Beta, Dev build 201004260200
Using Ubuntu Linux 2.6.31-20-generic
Xdebug 2.1.0rc1 (also tested on 2.0.4 and 2.0.5 doesn't work)
All have same issue.

How to reproduce:
Start debugging session set cursor to somewhere in the file and press "Run to cursor" Nothing happens  if any of step.. buttons pressed 1-2 times exception is produced in IDE log:

INFO [org.netbeans.modules.php.dbgp.DebugSession]
java.net.SocketException: Broken pipe
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(Unknown Source)
        at java.net.SocketOutputStream.write(Unknown Source)
        at org.netbeans.modules.php.dbgp.packets.DbgpCommand.send(DbgpCommand.java:84)
        at org.netbeans.modules.php.dbgp.DebugSession.sendCommands(DebugSession.java:205)
        at org.netbeans.modules.php.dbgp.DebugSession.run(DebugSession.java:139)
        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)
[catch] at java.lang.Thread.run(Unknown Source)
INFO [org.netbeans.modules.php.dbgp.DebugSession]
java.net.SocketException: Broken pipe
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(Unknown Source)
        at java.net.SocketOutputStream.write(Unknown Source)
        at org.netbeans.modules.php.dbgp.packets.DbgpCommand.send(DbgpCommand.java:84)
        at org.netbeans.modules.php.dbgp.DebugSession.sendCommands(DebugSession.java:205)
        at org.netbeans.modules.php.dbgp.DebugSession.run(DebugSession.java:139)
        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)
[catch] at java.lang.Thread.run(Unknown Source)
INFO [org.netbeans.modules.php.dbgp.DebugSession]
java.net.SocketException: Broken pipe
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(Unknown Source)
        at java.net.SocketOutputStream.write(Unknown Source)
        at org.netbeans.modules.php.dbgp.packets.DbgpCommand.send(DbgpCommand.java:84)
        at org.netbeans.modules.php.dbgp.DebugSession.sendCommands(DebugSession.java:205)
        at org.netbeans.modules.php.dbgp.DebugSession.run(DebugSession.java:139)
        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)
[catch] at java.lang.Thread.run(Unknown Source)


P.S. netbeans doesn't stop on breakpoints too.
Comment 1 rmatous 2010-06-14 14:31:37 UTC

*** This bug has been marked as a duplicate of bug 183064 ***