// sure we don't write more classes than we told the debugger
while (iter.hasNext() && count++ < classCount)
{
Class clazz = (Class) iter.next();
ReferenceTypeId id = idMan.getReferenceTypeId(clazz);
id.writeTagged(os);
String sig = Signature.computeClassSignature(clazz);
JdwpString.writeString(os, sig);
int status = VMVirtualMachine.getClassStatus(clazz);
os.writeInt(status);
}