Reorder sections of debug reports.

This commit is contained in:
Rene Gollent
2013-04-21 18:52:24 -04:00
parent 4ab260da80
commit 4b8a8922cb
@@ -122,6 +122,10 @@ DebugReportGenerator::_GenerateReport(const entry_ref& outputPath)
if (result != B_OK)
return result;
result = _DumpRunningThreads(output);
if (result != B_OK)
return result;
result = _DumpLoadedImages(output);
if (result != B_OK)
return result;
@@ -134,10 +138,6 @@ DebugReportGenerator::_GenerateReport(const entry_ref& outputPath)
if (result != B_OK)
return result;
result = _DumpRunningThreads(output);
if (result != B_OK)
return result;
result = file.Write(output.String(), output.Length());
if (result < 0)
return result;