}
private boolean printThreadInfo(ImageProcess ip, Output out, String id, Map threads)
{
Iterator itThread;
ImageThread it;
boolean found = false;
itThread = ip.getThreads().iterator();
while (itThread.hasNext())
{
Object next = itThread.next();
if (next instanceof CorruptData) {
continue;
}
it = (ImageThread)next;
String currID;
try {
currID = it.getID();
} catch (CorruptDataException e) {
currID = null;
}
if (null == id || id.equals(currID))
{
out.print("\t thread id: ");
out.print(currID);
out.print("\n");
printRegisters(it);
out.print("\t stack sections:");
out.print("\n");
Iterator itStackSection = it.getStackSections().iterator();
while (itStackSection.hasNext()) {
Object nextStackSection = itStackSection.next();
if (nextStackSection instanceof CorruptData) {
out.print("\t " + Exceptions.getCorruptDataExceptionString() + "\n");
continue;