This tool is based on UWPSpy source code and is used by Unigram to monitor layout reentrancy issues. The tool tracks any change to the UI tree and subscribes to all FrameworkElements SizeChanged event. Whenever the process crashes due to a LayoutCycleException, a file containing the last 200 SizeChanged events is written in the app data local folder.
FrayxRulez/Unigram.Diagnostics
Unigram in-process service to monitor layout reentrancy issues in production
C++GPL-3.0