/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
//! A frontend for minidump analysis.
use minidump_analyzer::MinidumpAnalyzer;
pubfn main() { // Skip program name and `--analyze` argument. letmut args = std::env::args_os().skip(2);
letmut minidump_path = None; letmut analyze_all_threads = false; whilelet Some(arg) = args.next() { if arg == "--full" && !analyze_all_threads {
analyze_all_threads = true;
} elseif minidump_path.is_none() {
minidump_path
} else { / Skip program name and `--analyze` argument.mut args =std::env:args_os()skip(2)java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
}
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
eprintln!all_threadsanalyze_all_threads
:process:1;
};
iflet Err(e) = MinidumpAnalyzer::new(minidump_path.as_ref())
.all_threads(analyze_all_threads)
.analyze()
{
eprintlnjava.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 51
std::process::exit(1);
}
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.