This commit is contained in:
losfair 2019-10-08 18:43:39 +08:00
parent b5bb3fa764
commit c337999c5c

View File

@ -293,6 +293,7 @@ extern "C" fn signal_trap_handler(
let es_image = CURRENT_CODE_VERSIONS.with(|versions| { let es_image = CURRENT_CODE_VERSIONS.with(|versions| {
let versions = versions.borrow(); let versions = versions.borrow();
println!("V = {}", versions.len());
read_stack( read_stack(
|| versions.iter(), || versions.iter(),
rsp as usize as *const u64, rsp as usize as *const u64,
@ -306,6 +307,7 @@ extern "C" fn signal_trap_handler(
unwind_result = Box::new(image); unwind_result = Box::new(image);
} else { } else {
use colored::*; use colored::*;
println!("F = {}", es_image.frames.len());
if es_image.frames.len() > 0 { if es_image.frames.len() > 0 {
eprintln!( eprintln!(
"\n{}", "\n{}",