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.
Summary: |
The NetBeans and xdebug issue appears again: java.net.SocketException: Broken pipe |
Product: |
php
|
Reporter: |
benedikt12 |
Component: |
Debugger | Assignee: |
Ondrej Brejla <obrejla> |
Status: |
RESOLVED
DUPLICATE
|
|
|
Severity: |
normal
|
CC: |
benedikt12
|
Priority: |
P3
|
|
|
Version: |
7.2 | |
|
Hardware: |
Macintosh (x86) | |
|
OS: |
Mac OS X | |
|
Issue Type:
|
DEFECT
|
Exception Reporter:
|
|
Attachments: |
netbeans log file (netbeans-xdebug issue)
|
Created attachment 123567 [details] netbeans log file (netbeans-xdebug issue) This SocketException makes debugging difficult if not impossible. I saw earlier postings regarding the NetBeans+xdebug issue, with the conclusion hinting that this is not a NetBeans issue. Here I show otherwise. Watches/Balloons are disabled. Occurs when stepping through a file being debugged. Occurs somewhat unpredictably---does not seem to depend on what code is being debugged. Usually appears within a minute of a debugging session. Critically, this DOES NOT occur, with exactly the same setup, on NetBeans 7.0. It DOES occur on NetBeans 7.1 and 7.2. This means that the issue HAS TO DO with NetBeans---it is either a NetBeans specific issue or a NetBeans-xdebug interaction issue. I tried different versions of xdebug (from about 2 years old to the newest) and this does not affect the problem. I will be glad to provide any additional info to provide this painful problem. Thanks for looking into this. The very end of my log (the entire log attached): --------------------------------------------------------- SEVERE [org.netbeans.modules.php.dbgp.packets.DbgpMessage] SEVERE [org.netbeans.modules.php.dbgp.packets.DbgpMessage] INFO [org.netbeans.modules.php.dbgp.DebugSession] java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:124) at org.netbeans.modules.php.dbgp.packets.DbgpCommand.send(DbgpCommand.java:92) at org.netbeans.modules.php.dbgp.DebugSession.sendCommands(DebugSession.java:211) [catch] at org.netbeans.modules.php.dbgp.DebugSession.run(DebugSession.java:143) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:680)