while (child!=null) {
if (wbh!=null)
caches.put(Integer.valueOf(child.getName()), child);
ArrayList<BiffRec> curRecs= new ArrayList();
BlockByteReader bytes= child.getBlockReader();
int len= bytes.getLength();
for (int i = 0; i <= len - 4;) {
byte[] headerbytes = bytes.getHeaderBytes(i);
short opcode = ByteTools.readShort(headerbytes[0], headerbytes[1]);
int reclen = ByteTools.readShort(headerbytes[2], headerbytes[3]);
BiffRec rec = XLSRecordFactory.getBiffRecord( opcode );
if (wbh!=null) rec.setDebugLevel(wbh.getDebugLevel()); // KSC: added to propogate debug level