Added more debug messages  to find the error.

Signed-off-by: Alexander Kastius <alexander.kastius@student.hpi.uni-potsdam.de>