Open ariccio opened 8 years ago
Providing more context is always potentially helpful. Screenshots are tricky because they are more likely to be disruptive or privacy-invasive, or both. So, it would have to be opt-in. But this is another way that UIforETW could offer a convenient and valuable feature.
ETWController has full support for screenshots and distributed profiling since its early days. It basically wraps any script or wpr.exe call with full keyboard and mouse hooking and screenshot support. It also creates a HTML summary which lists all the screenshots which were taken while the recording was running. See https://etwcontroler.codeplex.com/ for the latest release.
Sometimes it can be hard to tell what's going on in a trace - and there's not always a good description available (for example, I tried to record a trace of the chrome "save file dialog" issue, and failed to explain what I recorded in the actual trace). What if we recorded a screenshot every second (or so)? ETWProvider could emit an ETW event that has the name of an image file, and perhaps we could link to it in WPA? That'd make I easier to get an overview of what's going on in the trace.
Video would be cool, but totally not worth the effort.