for (DialogFragment df : dialogs) {
sb.append("dlc={").append(df.getDialogLifeCycle().toString());
sb.append("; df.isValid=").append(df.isValid());
sb.append("; locks: df=").append(df.isForegroundLocked());
for (Iterator<PathNode> pnIt = df.getCaller2CalleePath(); pnIt.hasNext();) {
PathNode pn = pnIt.next();
sb.append("; ss (").append(pn.getSipSessionId()).append(")=");
try {
SipSessionBase ss;
if ((ss = pn.getSipSession()) != null) {
sb.append(((SipSessionDialogImpl) ss).isForegroundLocked());
SipApplicationSession sas;
if ((sas = ss.getApplicationSession()) != null) {
sb.append("; sas (").append(sas.getId()).append(")=").append(((SipApplicationSessionImpl) sas).isForegroundLocked());
} else {