Commit Graph

2 Commits

Author SHA1 Message Date
Valentin Shergin 27b1558400 Fabric: Debug printing for StubView
Summary: That's extremly helpful for debugging, it allows to see the generated view structure (as diffing sees it).

Reviewed By: JoshuaGross

Differential Revision: D16342528

fbshipit-source-id: bc303d5cab992e517b7cf29962d7c1232e8aeec7
2019-07-17 14:22:02 -07:00
Valentin Shergin b10da79fb4 Fabric: Introspection (self testing in debug mode) in ShadowTree
Summary:
We suspect that we have some error in diffing algorithm that cause some crashes in mounting layer, so we decided to write a comprehensive unit tests for that.

Writing them we realized that it would be cool to also enable that for normal app run in the debug more, so we can catch the problem in real environment when/if it happens.

Reviewed By: mdvacca

Differential Revision: D14587123

fbshipit-source-id: 6dcdf451b39489dec751cd6787de33f3b8ffb3fd
2019-04-01 10:50:50 -07:00