Postmortem debug target now loads/scans the trace and inits the filesystem.
This commit is contained in:
@@ -51,7 +51,10 @@ int main(int argc, xechar_t** argv) {
|
||||
|
||||
if (!FLAGS_trace_file.empty()) {
|
||||
// Trace file specified on command line.
|
||||
app->OpenTraceFile(FLAGS_trace_file, FLAGS_content_file);
|
||||
if (!app->OpenTraceFile(FLAGS_trace_file, FLAGS_content_file)) {
|
||||
XEFATAL("Failed to open trace file");
|
||||
return 1;
|
||||
}
|
||||
} else {
|
||||
app->OpenEmpty();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user