anchor.diff:                  bytesNewLine.length;
               var endPosition = stdout.length - bytesEOF.length;
   
  -            return !areByteArraysEqual(expectedContent,
  -                                       0,
  -                                       stdout,
  -                                       startPosition,
  -                                       endPosition - startPosition);
  +            var _failed = !areByteArraysEqual(expectedContent,
  +                                              0,
  +                                              stdout,
  +                                              startPosition,
  +                                              endPosition - startPosition);
  +            if (_failed) {
  +              printDebug("Failed because command.expectedOutputFile doesn't "
  +                         "match stdout of DRT");
  +            }
  +            return _failed;
             }
           }
  +        printDebug("Failed because we didn't find 'Content-Length' in the DRT "
  +                   "output");
           return true;
         } else {
  -        return !areByteArraysEqual(expectedContent, 0,
  -                                   stdout, 0,
  -                                   stdout.length);
  -      }
  -    }
  +        var _failed = !areByteArraysEqual(expectedContent, 0,
  +                                          stdout, 0,
  +                                          stdout.length);
  +        if (_failed) {
  +          printDebug("Failed because command.expectedOutputFile doesn't match "
  +                     "stdout of DRT");
  +        }
  +        return _failed;
  +      }
  +    }
  +    printDebug("Failed because command.expectedOutputFile doesn't exist");
       return true;
     }
  -  
  +
     bool get _browserTestFailure {
       // Browser tests fail unless stdout contains
       // 'Content-Type: text/plain' followed by 'PASS'.
  
positive.code:           break;
          case 'PASS':
            if (has_content_type) {
              return (exitCode != 0 && !hasCrashed);
            }
            break;
        }
      }
      return true;
    }
  }
  
  
negative.code:         if ((testCase as BrowserTestCase).numRetries > 0) {
            requestRetry = true;
          }
          printDebug("Failed because of missing XDisplay");
          return true;
        }
      }
  