mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
add debugging hints for figuring out context switch bugs in the future
This commit is contained in:
parent
7c4ca05922
commit
45009a01d9
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue