Reorder sections of debug reports.
This commit is contained in:
@@ -122,6 +122,10 @@ DebugReportGenerator::_GenerateReport(const entry_ref& outputPath)
|
|||||||
if (result != B_OK)
|
if (result != B_OK)
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
|
result = _DumpRunningThreads(output);
|
||||||
|
if (result != B_OK)
|
||||||
|
return result;
|
||||||
|
|
||||||
result = _DumpLoadedImages(output);
|
result = _DumpLoadedImages(output);
|
||||||
if (result != B_OK)
|
if (result != B_OK)
|
||||||
return result;
|
return result;
|
||||||
@@ -134,10 +138,6 @@ DebugReportGenerator::_GenerateReport(const entry_ref& outputPath)
|
|||||||
if (result != B_OK)
|
if (result != B_OK)
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
result = _DumpRunningThreads(output);
|
|
||||||
if (result != B_OK)
|
|
||||||
return result;
|
|
||||||
|
|
||||||
result = file.Write(output.String(), output.Length());
|
result = file.Write(output.String(), output.Length());
|
||||||
if (result < 0)
|
if (result < 0)
|
||||||
return result;
|
return result;
|
||||||
|
|||||||
Reference in New Issue
Block a user