krzysztofzablocki / Inject

Hot Reloading for Swift applications!
MIT License
2.1k stars 114 forks source link

Debug View Hierarchy stops working after compiling a new ViewController #60

Closed nunogoncalves closed 1 year ago

nunogoncalves commented 1 year ago

Hey Krzysztof. Thanks for the awesome tool!

I would like to ask if you have any known issues with Debug View Hierarchy (DVH). I can run the app and navigate to a screen that hosts my ViewController. If at first I debug the view hierarchy, it works ok. Now I update some code and hit save. Once it gets injected, DVH stops working, as in I tap the button and nothing happens. Once I make another save in the file then Xcode opens the DVH window on a loading state until I get this:

image

I'm not thinking this will break my workflow a lot but got curious to know if this is known and if there's any explanation for it.

Thanks again for this awesome tool. You and obviously, @johnno1962 👌🏼 🙏🏼

krzysztofzablocki commented 1 year ago

honestly I've never seen it, @johnno1962 have you?

johnno1962 commented 1 year ago

I don't think I've ever used that feature. TBH, they won't appreciate it but this is more a radar sort of problem.