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.
Build: NetBeans IDE 8.0.2 (Build 201411181905) VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26 OS: Windows 7 User Comments: GUEST: Starting debug on php project GUEST: Trying to use XDebug GUEST: Trying to get xdebug working with php and netbeans. Changed port to 9002 and set proxy to none. GUEST: Trying to use xdebug. circlejp: Problem occurred while trying to configure xdebug for Drupal php debugging. Using Netbeans 8.0.2 on A windows 7 laptop. Running Apache 2.4, PHP 5.4, xdebug 2.2.6, Chrome Canary, Chrome NetBeans connector, xdebug helper extensions Open drupal file user.module.php set two breakpoints right-click project node. Choose Debug. Netbeans Says debugger is running Browser window opens. Waits and Waits and Waits. does not connect. Sessions window shows 2 sessions, one php, one javascript. Kill browser, cancel debug session. Notes: I have not yet been able to get xdebug to step through code successfully. I am only working on a localhost setup. My run configuration shows a debugger proxy port of 9001. I was flailing around trying to get things working and switched ports to 9001. when a previous session on port 9000 failed to close the socket. I also put 127.0.0.1 in the debugger proxy field at some point. I do not need a proxy so I removed these values, but the port number 9001 continues GUEST: Just trying to use xdebugger for php Stacktrace: java.lang.ArrayIndexOutOfBoundsException at java.net.SocketInputStream.read(SocketInputStream.java:142) at java.net.SocketInputStream.read(SocketInputStream.java:121) at org.netbeans.modules.php.dbgp.packets.DbgpMessage.getContent(DbgpMessage.java:249) at org.netbeans.modules.php.dbgp.packets.DbgpMessage.create(DbgpMessage.java:118) at org.netbeans.modules.php.dbgp.DebugSession.receiveData(DebugSession.java:263) at org.netbeans.modules.php.dbgp.DebugSession.sendCommands(DebugSession.java:210)
Created attachment 151595 [details] stacktrace
Improved error reporting. http://hg.netbeans.org/web-main/rev/096b1b444a20
*** Bug 253663 has been marked as a duplicate of this bug. ***
Integrated into 'main-silver', will be available in build *201509050002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/096b1b444a20 User: Tomas Mysik <tmysik@netbeans.org> Log: #249918 - ArrayIndexOutOfBoundsException at java.net.SocketInputStream.read More useful error reporting.