Skip to content

Commit

Permalink
add debugging hints for figuring out context switch bugs in the future
Browse files Browse the repository at this point in the history
  • Loading branch information
bunnie committed Nov 5, 2022
1 parent 7c4ca05 commit 45009a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/gam/src/contexts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ impl ContextManager {
token: [u32; 4],
clear: bool,
) -> Result<(), xous::Error> {
//log::set_max_level(log::LevelFilter::Trace);
self.notify_app_switch(token).ok();

let mut leaving_visibility: bool = false;
Expand Down Expand Up @@ -483,6 +484,7 @@ impl ContextManager {
self.redraw().expect("couldn't redraw the currently focused app");
}
}
//log::set_max_level(log::LevelFilter::Info);
Ok(())
}
pub(crate) fn set_pred_api_token(&mut self, at: ApiToken) {
Expand Down

0 comments on commit 45009a0

Please sign in to comment.