From c1bb7c074e0b90ef5016ca846a1ebdb0c0ec4af1 Mon Sep 17 00:00:00 2001 From: incastrix Date: Sat, 30 Aug 2008 04:57:11 +0000 Subject: [PATCH] fix bug #675. --- .../xdebug/core/xdebug/XDebugConnection.java | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) 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) { -- 1.7.1