From: incastrix Date: Sat, 30 Aug 2008 04:57:11 +0000 (+0000) Subject: fix bug #675. X-Git-Url: http://git.phpeclipse.com fix bug #675. --- diff --git a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/core/xdebug/XDebugConnection.java b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/core/xdebug/XDebugConnection.java index 24fedd1..aa5793d 100644 --- a/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/core/xdebug/XDebugConnection.java +++ b/net.sourceforge.phpeclipse.xdebug.core/src/net/sourceforge/phpeclipse/xdebug/core/xdebug/XDebugConnection.java @@ -99,6 +99,9 @@ public class XDebugConnection { else attempts++; } + + fDebugReader.readFully(byteBuffer,readCount,count); + if((b= fDebugReader.readByte())!=0) // reads the NULL Byte at the end; System.out.println("NULL-Byte missing!!"); } catch (IOException e) {