Debug: sync apps on attach, makes it possible to debug already started app that has crashed (#2778)

This commit is contained in:
あく 2023-06-16 15:48:57 +09:00 committed by GitHub
parent 5334a0ab92
commit 4ddfe05a59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,6 +188,7 @@ class FlipperAppStateHelper:
)
self.app_type_ptr = gdb.lookup_type("FlipperApplication").pointer()
self.app_list_entry_type = gdb.lookup_type("struct FlipperApplicationList_s")
self._sync_apps()
def handle_stop(self, event) -> None:
self._sync_apps()