1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 12:42:30 +04:00

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

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()