rustup; fix debugging

This commit is contained in:
Ralf Jung 2019-10-23 16:33:54 +02:00
parent 09e7429a8a
commit 354de02c24
2 changed files with 3 additions and 4 deletions

View File

@ -1 +1 @@
57bfb8096295150c06559da10adc5629e445a4ac
f466f52c1bf8f2e4454e31c683a88625ad4b4033

View File

@ -257,9 +257,8 @@ pub fn eval_main<'tcx>(tcx: TyCtxt<'tcx>, main_id: DefId, config: MiriConfig) {
trace!("-------------------");
trace!("Frame {}", i);
trace!(" return: {:?}", frame.return_place.map(|p| *p));
for (_i, _local) in frame.locals.iter().enumerate() {
//trace!(" local {}: {:?}", i, local.value);
//FIXME: enable this again when the LocalValue Debug impl is back
for (i, local) in frame.locals.iter().enumerate() {
trace!(" local {}: {:?}", i, local.value);
}
}
}