I have a master list -> detail view UI. Looks fine.
But when I show a detail view of one of the list element, the view sometimes supriously goes back to the list.
The master list can be updated in the background and when this happen, the list is re-ordered. I think that what is causing the "going back". According to this SO question SwiftUI Navigation View goes back in hierarchy and to this WWDC video, it seems my views identity are not constant.
How can I read and debug the view hierarchy (I mean SwiftUI view, not the corresponding UIViews) and their identity ?
Edit: changed the title to be more in line with the question.